pub struct RawSample {
pub provenance: Provenance,
pub freshness: Freshness,
pub envelope: Envelope,
pub len: usize,
}Expand description
What SignalReader::read returns beside the copied bytes.
Fields§
§provenance: ProvenanceWhere the value comes from.
freshness: FreshnessHow old the value is.
envelope: EnvelopeThe sender’s timestamp and sequence number.
len: usizeThe number of bytes copied into out.
Trait Implementations§
impl Copy for RawSample
impl Eq for RawSample
impl StructuralPartialEq for RawSample
Auto Trait Implementations§
impl Freeze for RawSample
impl RefUnwindSafe for RawSample
impl Send for RawSample
impl Sync for RawSample
impl Unpin for RawSample
impl UnsafeUnpin for RawSample
impl UnwindSafe for RawSample
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