Struct domain::rdata::svcb::SvcbVariant
source · pub struct SvcbVariant;
Expand description
The marker type for the SVCB record type.
Use this as the Variant
type argument of the
SvcbRdata<..>
type to select an SVCB record.
Trait Implementations§
source§impl Clone for SvcbVariant
impl Clone for SvcbVariant
source§fn clone(&self) -> SvcbVariant
fn clone(&self) -> SvcbVariant
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 SvcbVariant
impl Debug for SvcbVariant
impl Copy for SvcbVariant
Auto Trait Implementations§
impl Freeze for SvcbVariant
impl RefUnwindSafe for SvcbVariant
impl Send for SvcbVariant
impl Sync for SvcbVariant
impl Unpin for SvcbVariant
impl UnwindSafe for SvcbVariant
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) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.