pub enum ControlType<'a> {
RegisterComponent(ComponentInfo<'a>),
RegisterPubSubShortId(PubSubShort<'a>),
}Expand description
Control Message Type
The specific kind of Control Message
Variants§
RegisterComponent(ComponentInfo<'a>)
Register Component
This message is used to establish/reset the connection between a given client and an Arbitrator
RegisterPubSubShortId(PubSubShort<'a>)
Register PubSubShortID
This message is used to register a path “short code”, which can use a u16 instead of a full utf-8 path to save message bandwidth
Trait Implementations§
Source§impl<'a> Debug for ControlType<'a>
impl<'a> Debug for ControlType<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for ControlType<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ControlType<'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 ControlType<'a>
Source§impl<'a> PartialEq for ControlType<'a>
impl<'a> PartialEq for ControlType<'a>
Source§fn eq(&self, other: &ControlType<'a>) -> bool
fn eq(&self, other: &ControlType<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for ControlType<'a>
impl<'a> Serialize for ControlType<'a>
impl<'a> StructuralPartialEq for ControlType<'a>
Auto Trait Implementations§
impl<'a> Freeze for ControlType<'a>
impl<'a> RefUnwindSafe for ControlType<'a>
impl<'a> Send for ControlType<'a>
impl<'a> Sync for ControlType<'a>
impl<'a> Unpin for ControlType<'a>
impl<'a> UnsafeUnpin for ControlType<'a>
impl<'a> UnwindSafe for ControlType<'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