pub enum Component<'a> {
Control(Control<'a>),
PubSub(PubSub<'a>),
}Expand description
Component Message
This is the primary message sent FROM the peripheral Component/Client, TO the central Arbitrator.
Variants§
Control(Control<'a>)
Control Messages
These are used to establish or manage the connection between the Component/Client and Arbitrator
PubSub(PubSub<'a>)
Pub/Sub messages
These are used to send or receive Pub/Sub messages
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Component<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Component<'a>
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
impl<'a> Eq for Component<'a>
Source§impl<'a> PartialEq for Component<'a>
impl<'a> PartialEq for Component<'a>
impl<'a> StructuralPartialEq for Component<'a>
Auto Trait Implementations§
impl<'a> Freeze for Component<'a>
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> Send for Component<'a>
impl<'a> Sync for Component<'a>
impl<'a> Unpin for Component<'a>
impl<'a> UnsafeUnpin for Component<'a>
impl<'a> UnwindSafe for Component<'a>
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