#[repr(u16)]pub enum ContainerType {
Command = 1,
Data = 2,
Response = 3,
Event = 4,
}Expand description
Container type identifier.
Variants§
Command = 1
Command container (sent to device).
Data = 2
Data container (bidirectional).
Response = 3
Response container (from device).
Event = 4
Event container (from device).
Implementations§
Trait Implementations§
Source§impl Clone for ContainerType
impl Clone for ContainerType
Source§fn clone(&self) -> ContainerType
fn clone(&self) -> ContainerType
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 ContainerType
impl Debug for ContainerType
Source§impl PartialEq for ContainerType
impl PartialEq for ContainerType
impl Copy for ContainerType
impl Eq for ContainerType
impl StructuralPartialEq for ContainerType
Auto Trait Implementations§
impl Freeze for ContainerType
impl RefUnwindSafe for ContainerType
impl Send for ContainerType
impl Sync for ContainerType
impl Unpin for ContainerType
impl UnsafeUnpin for ContainerType
impl UnwindSafe for ContainerType
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