pub struct Snapshot {
pub offset: u64,
pub length: u64,
}Expand description
The descriptor of a singular snapshot.
Fields§
§offset: u64The offset of data in the data ring.
length: u64The length of data in the data ring. A non-zero length marks a valid entry, a zero length an invalid entry.
Trait Implementations§
impl Copy for Snapshot
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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