pub struct UbusCmdType(/* private fields */);Implementations§
Source§impl UbusCmdType
impl UbusCmdType
pub const HELLO: Self
pub const STATUS: Self
pub const DATA: Self
pub const PING: Self
pub const LOOKUP: Self
pub const INVOKE: Self
pub const ADD_OBJECT: Self
pub const REMOVE_OBJECT: Self
pub const SUBSCRIBE: Self
pub const UNSUBSCRIBE: Self
pub const NOTIFY: Self
pub const MONITOR: Self
pub fn known(self) -> bool
pub fn value(self) -> u8
Trait Implementations§
Source§impl Clone for UbusCmdType
impl Clone for UbusCmdType
Source§fn clone(&self) -> UbusCmdType
fn clone(&self) -> UbusCmdType
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 UbusCmdType
impl Debug for UbusCmdType
Source§impl<'de> Deserialize<'de> for UbusCmdType
impl<'de> Deserialize<'de> for UbusCmdType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<u8> for UbusCmdType
impl From<u8> for UbusCmdType
Source§impl PartialEq for UbusCmdType
impl PartialEq for UbusCmdType
Source§impl Serialize for UbusCmdType
impl Serialize for UbusCmdType
impl Copy for UbusCmdType
impl Eq for UbusCmdType
impl StructuralPartialEq for UbusCmdType
Auto Trait Implementations§
impl Freeze for UbusCmdType
impl RefUnwindSafe for UbusCmdType
impl Send for UbusCmdType
impl Sync for UbusCmdType
impl Unpin for UbusCmdType
impl UnwindSafe for UbusCmdType
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