#[repr(u64)]pub enum PrivacyMode {
Network = 0,
Device = 1,
}Variants§
Trait Implementations§
Source§impl Clone for PrivacyMode
impl Clone for PrivacyMode
Source§fn clone(&self) -> PrivacyMode
fn clone(&self) -> PrivacyMode
Returns a duplicate 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 PrivacyMode
impl Debug for PrivacyMode
Source§impl From<&PrivacyMode> for u8
impl From<&PrivacyMode> for u8
Source§fn from(value: &PrivacyMode) -> Self
fn from(value: &PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for i16
impl From<PrivacyMode> for i16
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for i32
impl From<PrivacyMode> for i32
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for i64
impl From<PrivacyMode> for i64
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for u16
impl From<PrivacyMode> for u16
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for u32
impl From<PrivacyMode> for u32
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for u64
impl From<PrivacyMode> for u64
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl From<PrivacyMode> for u8
impl From<PrivacyMode> for u8
Source§fn from(value: PrivacyMode) -> Self
fn from(value: PrivacyMode) -> Self
Converts to this type from the input type.
Source§impl Hash for PrivacyMode
impl Hash for PrivacyMode
Source§impl PartialEq for PrivacyMode
impl PartialEq for PrivacyMode
Source§impl TryFrom<u8> for PrivacyMode
impl TryFrom<u8> for PrivacyMode
impl Copy for PrivacyMode
impl Eq for PrivacyMode
impl StructuralPartialEq for PrivacyMode
Auto Trait Implementations§
impl Freeze for PrivacyMode
impl RefUnwindSafe for PrivacyMode
impl Send for PrivacyMode
impl Sync for PrivacyMode
impl Unpin for PrivacyMode
impl UnwindSafe for PrivacyMode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more