pub struct SnapshotItem {
pub resource: ResourceId,
pub offset: u64,
}Expand description
One requested snapshot read.
Fields§
§resource: ResourceIdResource to read.
offset: u64Byte offset from the start of the logical resource.
Trait Implementations§
Source§impl Clone for SnapshotItem
impl Clone for SnapshotItem
impl Copy for SnapshotItem
Source§impl Debug for SnapshotItem
impl Debug for SnapshotItem
impl Eq for SnapshotItem
Source§impl PartialEq for SnapshotItem
impl PartialEq for SnapshotItem
impl StructuralPartialEq for SnapshotItem
Auto Trait Implementations§
impl Freeze for SnapshotItem
impl RefUnwindSafe for SnapshotItem
impl Send for SnapshotItem
impl Sync for SnapshotItem
impl Unpin for SnapshotItem
impl UnsafeUnpin for SnapshotItem
impl UnwindSafe for SnapshotItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.