pub struct SnapshotSelection {
pub snapshots: Vec<SnapshotRoot>,
pub missing_ids: Vec<Vec<u8>>,
}Expand description
Result of loading several snapshots by namespace-local id.
Fields§
§snapshots: Vec<SnapshotRoot>Snapshots that were present.
missing_ids: Vec<Vec<u8>>Namespace-local ids that were requested but absent.
Trait Implementations§
Source§impl Clone for SnapshotSelection
impl Clone for SnapshotSelection
Source§fn clone(&self) -> SnapshotSelection
fn clone(&self) -> SnapshotSelection
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 SnapshotSelection
impl Debug for SnapshotSelection
Source§impl Default for SnapshotSelection
impl Default for SnapshotSelection
Source§fn default() -> SnapshotSelection
fn default() -> SnapshotSelection
Returns the “default value” for a type. Read more
Source§impl PartialEq for SnapshotSelection
impl PartialEq for SnapshotSelection
impl StructuralPartialEq for SnapshotSelection
Auto Trait Implementations§
impl Freeze for SnapshotSelection
impl RefUnwindSafe for SnapshotSelection
impl Send for SnapshotSelection
impl Sync for SnapshotSelection
impl Unpin for SnapshotSelection
impl UnsafeUnpin for SnapshotSelection
impl UnwindSafe for SnapshotSelection
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more