pub enum AgentInfoValue {
Name(String),
VendorName(String),
Feature(u32),
Device(AgentKind),
U16(u16),
U32(u32),
}Expand description
Typed agent info payload before ABI packing.
Variants§
Trait Implementations§
Source§impl Clone for AgentInfoValue
impl Clone for AgentInfoValue
Source§fn clone(&self) -> AgentInfoValue
fn clone(&self) -> AgentInfoValue
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 moreSource§impl Debug for AgentInfoValue
impl Debug for AgentInfoValue
impl Eq for AgentInfoValue
Source§impl PartialEq for AgentInfoValue
impl PartialEq for AgentInfoValue
impl StructuralPartialEq for AgentInfoValue
Auto Trait Implementations§
impl Freeze for AgentInfoValue
impl RefUnwindSafe for AgentInfoValue
impl Send for AgentInfoValue
impl Sync for AgentInfoValue
impl Unpin for AgentInfoValue
impl UnsafeUnpin for AgentInfoValue
impl UnwindSafe for AgentInfoValue
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