pub struct ControlPacket {
pub is_collector: bool,
pub central_send_uptime: u64,
pub latency_offset: i64,
/* private fields */
}Expand description
Control packet sent from Central to Peripheral.
Fields§
§is_collector: bool§central_send_uptime: u64§latency_offset: i64Implementations§
Trait Implementations§
Source§impl Debug for ControlPacket
impl Debug for ControlPacket
Source§impl<'de> Deserialize<'de> for ControlPacket
impl<'de> Deserialize<'de> for ControlPacket
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 PartialEq for ControlPacket
impl PartialEq for ControlPacket
Source§impl Serialize for ControlPacket
impl Serialize for ControlPacket
impl StructuralPartialEq for ControlPacket
Auto Trait Implementations§
impl Freeze for ControlPacket
impl RefUnwindSafe for ControlPacket
impl Send for ControlPacket
impl Sync for ControlPacket
impl Unpin for ControlPacket
impl UnsafeUnpin for ControlPacket
impl UnwindSafe for ControlPacket
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