#[repr(u8)]pub enum ClientType {
Permanent = 0,
Ephemeral = 1,
}Available on crate feature
rustcrypto only.Expand description
§9.16.5’s ClientTypeEnum — how available the registered client is.
Variants§
Permanent = 0
“typically resident, always-on, fixed infrastructure in the home” — a hub.
Ephemeral = 1
“mobile or non-resident or not always-on” — a phone that leaves the house.
Implementations§
Source§impl ClientType
impl ClientType
Sourcepub const fn from_value(value: u64) -> Result<Self, Status>
pub const fn from_value(value: u64) -> Result<Self, Status>
Reads a wire value; anything else is CONSTRAINT_ERROR.
Trait Implementations§
Source§impl Clone for ClientType
impl Clone for ClientType
impl Copy for ClientType
Source§impl Debug for ClientType
impl Debug for ClientType
Source§impl Default for ClientType
impl Default for ClientType
impl Eq for ClientType
Source§impl Hash for ClientType
impl Hash for ClientType
Source§impl PartialEq for ClientType
impl PartialEq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations§
impl Forget for ClientType
impl Freeze for ClientType
impl Move for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnsafeUnpin for ClientType
impl UnwindSafe for ClientType
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