pub struct RestoreS3Outcome {
pub into: PathBuf,
pub manifest: String,
pub commits: u64,
pub source_lineage: String,
pub lineage: String,
pub files: Vec<String>,
pub segments: usize,
pub bytes: u64,
pub tail_note: Option<String>,
pub install_note: Option<String>,
pub swept: Vec<PathBuf>,
}Expand description
What a restore did.
Fields§
§into: PathBufThe directory the store was restored into.
manifest: StringThe key of the manifest restored from.
commits: u64Commits the restored store holds (its wal_total_commits).
source_lineage: StringThe lineage of the backup restored from.
lineage: StringThe restored store’s own, new lineage.
files: Vec<String>The store files written, by name.
segments: usizeWAL segments concatenated into wal.bin.
bytes: u64Bytes downloaded.
tail_note: Option<String>Why the segments after the newest manifest stop where they do, when a later one exists but could not be used (missing, short, not whole frames, or after a gap). The restore holds the commits up to there.
install_note: Option<String>The store is in place, but something after the final rename failed (syncing the parent directory): its directory entry may not be durable yet.
swept: Vec<PathBuf>Staging directories (and their lock files) that earlier, killed restores into the same target left beside it, removed at the start.
Trait Implementations§
Source§impl Clone for RestoreS3Outcome
impl Clone for RestoreS3Outcome
Source§impl Debug for RestoreS3Outcome
impl Debug for RestoreS3Outcome
impl Eq for RestoreS3Outcome
Source§impl PartialEq for RestoreS3Outcome
impl PartialEq for RestoreS3Outcome
impl StructuralPartialEq for RestoreS3Outcome
Auto Trait Implementations§
impl Freeze for RestoreS3Outcome
impl RefUnwindSafe for RestoreS3Outcome
impl Send for RestoreS3Outcome
impl Sync for RestoreS3Outcome
impl Unpin for RestoreS3Outcome
impl UnsafeUnpin for RestoreS3Outcome
impl UnwindSafe for RestoreS3Outcome
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> ⓘ
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> ⓘ
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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.