pub struct CompletedFrame {
pub block_id: u16,
pub timestamp: Instant,
pub payload: Bytes,
}Expand description
Representation of a fully reassembled frame ready for consumption.
Fields§
§block_id: u16§timestamp: Instant§payload: BytesTrait Implementations§
Source§impl Clone for CompletedFrame
impl Clone for CompletedFrame
Source§fn clone(&self) -> CompletedFrame
fn clone(&self) -> CompletedFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for CompletedFrame
impl RefUnwindSafe for CompletedFrame
impl Send for CompletedFrame
impl Sync for CompletedFrame
impl Unpin for CompletedFrame
impl UnwindSafe for CompletedFrame
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