Struct domain::rdata::svcb::HttpsVariant
source · pub struct HttpsVariant;
Expand description
The marker type for the HTTPS record type.
Use this as the Variant
type argument of the
SvcbRdata<..>
type to select an HTTPS record.
Trait Implementations§
source§impl Clone for HttpsVariant
impl Clone for HttpsVariant
source§fn clone(&self) -> HttpsVariant
fn clone(&self) -> HttpsVariant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpsVariant
impl Debug for HttpsVariant
impl Copy for HttpsVariant
Auto Trait Implementations§
impl RefUnwindSafe for HttpsVariant
impl Send for HttpsVariant
impl Sync for HttpsVariant
impl Unpin for HttpsVariant
impl UnwindSafe for HttpsVariant
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.