pub struct PendingSnapshotPackages { /* private fields */ }Expand description
Snapshot packages that are pending for archival
Implementations§
Source§impl PendingSnapshotPackages
impl PendingSnapshotPackages
Sourcepub fn push(&mut self, snapshot_package: SnapshotPackage)
pub fn push(&mut self, snapshot_package: SnapshotPackage)
Adds snapshot_package as a pending snapshot package
This will overwrite currently-pending in-kind packages.
Note: This function will panic if snapshot_package is older
than any currently-pending in-kind packages.
Sourcepub fn pop(&mut self) -> Option<SnapshotPackage>
pub fn pop(&mut self) -> Option<SnapshotPackage>
Returns the next pending snapshot package to handle
Trait Implementations§
Source§impl Debug for PendingSnapshotPackages
impl Debug for PendingSnapshotPackages
Source§impl Default for PendingSnapshotPackages
impl Default for PendingSnapshotPackages
Source§fn default() -> PendingSnapshotPackages
fn default() -> PendingSnapshotPackages
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PendingSnapshotPackages
impl !RefUnwindSafe for PendingSnapshotPackages
impl Send for PendingSnapshotPackages
impl Sync for PendingSnapshotPackages
impl Unpin for PendingSnapshotPackages
impl !UnwindSafe for PendingSnapshotPackages
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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