#[non_exhaustive]pub enum IcdClientType {
Permanent,
Ephemeral,
}Expand description
IcdManagement.ClientTypeEnum — whether the registration is permanent or
ephemeral (Matter Core §9.17).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Permanent
The client stays registered across the device’s reboots.
Ephemeral
The registration is dropped when the device reboots.
Trait Implementations§
Source§impl Clone for IcdClientType
impl Clone for IcdClientType
Source§fn clone(&self) -> IcdClientType
fn clone(&self) -> IcdClientType
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 IcdClientType
Source§impl Debug for IcdClientType
impl Debug for IcdClientType
impl Eq for IcdClientType
Source§impl PartialEq for IcdClientType
impl PartialEq for IcdClientType
impl StructuralPartialEq for IcdClientType
Auto Trait Implementations§
impl Freeze for IcdClientType
impl RefUnwindSafe for IcdClientType
impl Send for IcdClientType
impl Sync for IcdClientType
impl Unpin for IcdClientType
impl UnsafeUnpin for IcdClientType
impl UnwindSafe for IcdClientType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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