pub struct Replay {
pub lost: Option<(u64, u64)>,
pub offset: u64,
pub data: Vec<u8>,
}Expand description
What a read from an offset gives back.
Fields§
§lost: Option<(u64, u64)>Bytes lost.0..lost.1 were asked for but are no longer held.
offset: u64The offset of data[0].
data: Vec<u8>Trait Implementations§
impl Eq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Freeze for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnsafeUnpin for Replay
impl UnwindSafe for Replay
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