pub struct InboundFrame<'a> {
pub raw: &'a [u8],
pub iface: InterfaceId,
pub now: f64,
pub rx: RxMetadata,
}Fields§
§raw: &'a [u8]§iface: InterfaceId§now: f64§rx: RxMetadataImplementations§
Source§impl<'a> InboundFrame<'a>
impl<'a> InboundFrame<'a>
pub fn new(raw: &'a [u8], iface: InterfaceId, now: f64) -> Self
pub fn with_rx(self, rx: RxMetadata) -> Self
Trait Implementations§
Source§impl<'a> Clone for InboundFrame<'a>
impl<'a> Clone for InboundFrame<'a>
Source§fn clone(&self) -> InboundFrame<'a>
fn clone(&self) -> InboundFrame<'a>
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<'a> Debug for InboundFrame<'a>
impl<'a> Debug for InboundFrame<'a>
Source§impl<'a> PartialEq for InboundFrame<'a>
impl<'a> PartialEq for InboundFrame<'a>
Source§fn eq(&self, other: &InboundFrame<'a>) -> bool
fn eq(&self, other: &InboundFrame<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for InboundFrame<'a>
impl<'a> StructuralPartialEq for InboundFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for InboundFrame<'a>
impl<'a> RefUnwindSafe for InboundFrame<'a>
impl<'a> Send for InboundFrame<'a>
impl<'a> Sync for InboundFrame<'a>
impl<'a> Unpin for InboundFrame<'a>
impl<'a> UnsafeUnpin for InboundFrame<'a>
impl<'a> UnwindSafe for InboundFrame<'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