pub struct Par2CreateOutcome {
pub recovery_set_id: RecoverySetId,
pub main_path: PathBuf,
pub volume_paths: Vec<PathBuf>,
pub output_paths: Vec<PathBuf>,
pub source_slice_count: u32,
pub recovery_count: u32,
pub bytes_written: u64,
pub dry_run: bool,
pub requested_backend: CreationBackend,
pub selected_backend: CreationBackend,
}Expand description
Files produced by a successful creation transaction.
Fields§
§recovery_set_id: RecoverySetIdRecovery-set identifier shared by all packets.
main_path: PathBufMain output path.
volume_paths: Vec<PathBuf>Recovery volume paths.
output_paths: Vec<PathBuf>All committed output paths, with the main file first.
source_slice_count: u32Total number of source slices.
recovery_count: u32Total number of recovery slices.
bytes_written: u64Total bytes committed across all output files.
dry_run: boolTrue when no output files were written.
requested_backend: CreationBackendBackend policy requested by the creator.
selected_backend: CreationBackendBackend selected after preflight.
Trait Implementations§
Source§impl Clone for Par2CreateOutcome
impl Clone for Par2CreateOutcome
Source§fn clone(&self) -> Par2CreateOutcome
fn clone(&self) -> Par2CreateOutcome
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 moreAuto Trait Implementations§
impl Freeze for Par2CreateOutcome
impl RefUnwindSafe for Par2CreateOutcome
impl Send for Par2CreateOutcome
impl Sync for Par2CreateOutcome
impl Unpin for Par2CreateOutcome
impl UnsafeUnpin for Par2CreateOutcome
impl UnwindSafe for Par2CreateOutcome
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> 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