pub struct Control<'a> {
pub seq: u16,
pub ty: ControlType<'a>,
}Expand description
Control Messages
These messages are used to communicate on the control layer
Fields§
§seq: u16Sequence Number
This number is chosen by the Client/Component, and will be echoed back by the Arbitrator when replying
ty: ControlType<'a>Control Message Type
The specific control message
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Control<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Control<'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 Control<'a>
Source§impl<'a> PartialEq for Control<'a>
impl<'a> PartialEq for Control<'a>
impl<'a> StructuralPartialEq for Control<'a>
Auto Trait Implementations§
impl<'a> Freeze for Control<'a>
impl<'a> RefUnwindSafe for Control<'a>
impl<'a> Send for Control<'a>
impl<'a> Sync for Control<'a>
impl<'a> Unpin for Control<'a>
impl<'a> UnsafeUnpin for Control<'a>
impl<'a> UnwindSafe for Control<'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