pub struct Stamp<D, G> {
pub snapshot: Snapshot<D, G>,
pub length: u64,
}Expand description
One immutable original byte source, including its exact length.
Fields§
§snapshot: Snapshot<D, G>Source-owner identity and immutable generation.
length: u64Exact byte length of this view.
Trait Implementations§
impl<D, G> Copy for Stamp<D, G>
impl<D, G> Eq for Stamp<D, G>
impl<D, G> StructuralPartialEq for Stamp<D, G>
Auto Trait Implementations§
impl<D, G> Freeze for Stamp<D, G>
impl<D, G> RefUnwindSafe for Stamp<D, G>where
Snapshot<D, G>: RefUnwindSafe,
impl<D, G> Send for Stamp<D, G>
impl<D, G> Sync for Stamp<D, G>
impl<D, G> Unpin for Stamp<D, G>
impl<D, G> UnsafeUnpin for Stamp<D, G>where
Snapshot<D, G>: UnsafeUnpin,
impl<D, G> UnwindSafe for Stamp<D, G>where
Snapshot<D, G>: UnwindSafe,
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