pub struct M2dirFullEntry { /* private fields */ }Expand description
An M2dirEntry paired with its file contents and flags
metadata, as produced by the bulk reads on
M2dirClient.
Implementations§
Source§impl M2dirFullEntry
impl M2dirFullEntry
pub fn from_parts( entry: M2dirEntry, contents: Vec<u8>, flags: M2dirFlags, ) -> Self
pub fn entry(&self) -> &M2dirEntry
pub fn contents(&self) -> &[u8] ⓘ
pub fn flags(&self) -> &M2dirFlags
Trait Implementations§
Source§impl Clone for M2dirFullEntry
impl Clone for M2dirFullEntry
Source§fn clone(&self) -> M2dirFullEntry
fn clone(&self) -> M2dirFullEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for M2dirFullEntry
impl Debug for M2dirFullEntry
impl Eq for M2dirFullEntry
Source§impl Ord for M2dirFullEntry
impl Ord for M2dirFullEntry
Source§fn cmp(&self, other: &M2dirFullEntry) -> Ordering
fn cmp(&self, other: &M2dirFullEntry) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for M2dirFullEntry
impl PartialEq for M2dirFullEntry
Source§fn eq(&self, other: &M2dirFullEntry) -> bool
fn eq(&self, other: &M2dirFullEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for M2dirFullEntry
impl PartialOrd for M2dirFullEntry
impl StructuralPartialEq for M2dirFullEntry
Auto Trait Implementations§
impl Freeze for M2dirFullEntry
impl RefUnwindSafe for M2dirFullEntry
impl Send for M2dirFullEntry
impl Sync for M2dirFullEntry
impl Unpin for M2dirFullEntry
impl UnsafeUnpin for M2dirFullEntry
impl UnwindSafe for M2dirFullEntry
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