Struct IpFamilyPreference
#[repr(transparent)]pub struct IpFamilyPreference(pub u8);Expand description
IP family that a client asks for (wds_ip_family_preference_enum_v01).
Tuple Fields§
§0: u8Implementations§
§impl IpFamilyPreference
impl IpFamilyPreference
Trait Implementations§
§impl Clone for IpFamilyPreference
impl Clone for IpFamilyPreference
§fn clone(&self) -> IpFamilyPreference
fn clone(&self) -> IpFamilyPreference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IpFamilyPreference
§impl Debug for IpFamilyPreference
impl Debug for IpFamilyPreference
§impl Decode for IpFamilyPreference
impl Decode for IpFamilyPreference
§impl Encode for IpFamilyPreference
impl Encode for IpFamilyPreference
impl Eq for IpFamilyPreference
§impl From<IpFamilyPreference> for u8
impl From<IpFamilyPreference> for u8
§fn from(value: IpFamilyPreference) -> Self
fn from(value: IpFamilyPreference) -> Self
Converts to this type from the input type.
§impl From<u8> for IpFamilyPreference
impl From<u8> for IpFamilyPreference
§impl Hash for IpFamilyPreference
impl Hash for IpFamilyPreference
§impl PartialEq for IpFamilyPreference
impl PartialEq for IpFamilyPreference
impl StructuralPartialEq for IpFamilyPreference
Auto Trait Implementations§
impl Freeze for IpFamilyPreference
impl RefUnwindSafe for IpFamilyPreference
impl Send for IpFamilyPreference
impl Sync for IpFamilyPreference
impl Unpin for IpFamilyPreference
impl UnsafeUnpin for IpFamilyPreference
impl UnwindSafe for IpFamilyPreference
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