pub struct Produced<'a> {
pub frame: &'a [u8],
pub produced: u32,
pub remaining: u32,
}Expand description
What dispatching a frame produced.
Fields§
§frame: &'a [u8]The reply frame, or empty for a reset-class command.
produced: u32Octets of trailing content this frame carries, which is where the
next fragment resumes. Meaningless unless remaining is nonzero.
remaining: u32Octets of trailing content this frame does not carry. Zero ends the read; anything else issues a cursor.
Implementations§
Trait Implementations§
impl<'a> Copy for Produced<'a>
impl<'a> Eq for Produced<'a>
impl<'a> StructuralPartialEq for Produced<'a>
Auto Trait Implementations§
impl<'a> Freeze for Produced<'a>
impl<'a> RefUnwindSafe for Produced<'a>
impl<'a> Send for Produced<'a>
impl<'a> Sync for Produced<'a>
impl<'a> Unpin for Produced<'a>
impl<'a> UnwindSafe for Produced<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)