pub struct FluxPacket {
pub magic: [u8; 4],
pub version: u16,
pub flags: u8,
pub source: u32,
pub target: u32,
pub timestamp: f64,
pub payload: Vec<u8>,
pub zeitgeist: Zeitgeist,
pub parity: u8,
}Expand description
FLUX packet — the wire format for Zeitgeist transference
Fields§
§magic: [u8; 4]§version: u16§flags: u8§source: u32§target: u32§timestamp: f64§payload: Vec<u8>§zeitgeist: Zeitgeist§parity: u8Implementations§
Source§impl FluxPacket
impl FluxPacket
Trait Implementations§
Source§impl Clone for FluxPacket
impl Clone for FluxPacket
Source§fn clone(&self) -> FluxPacket
fn clone(&self) -> FluxPacket
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 FluxPacket
impl Debug for FluxPacket
Source§impl PartialEq for FluxPacket
impl PartialEq for FluxPacket
Source§fn eq(&self, other: &FluxPacket) -> bool
fn eq(&self, other: &FluxPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FluxPacket
Auto Trait Implementations§
impl Freeze for FluxPacket
impl RefUnwindSafe for FluxPacket
impl Send for FluxPacket
impl Sync for FluxPacket
impl Unpin for FluxPacket
impl UnsafeUnpin for FluxPacket
impl UnwindSafe for FluxPacket
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