pub enum SliceEvidenceStrength {
Crc32Only,
Crc32AndMd5,
}Expand description
A completed PAR2 slice verdict, suitable for passing to a repair session.
Evidence deliberately identifies PAR2 coordinates only. It never exposes a filesystem path or assumes where the downloaded bytes were stored.
Variants§
Crc32Only
The slice was compared using the PAR2 IFSC CRC32 only.
Crc32AndMd5
The slice was compared using both the PAR2 IFSC CRC32 and MD5.
Trait Implementations§
Source§impl Clone for SliceEvidenceStrength
impl Clone for SliceEvidenceStrength
Source§fn clone(&self) -> SliceEvidenceStrength
fn clone(&self) -> SliceEvidenceStrength
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 moreimpl Copy for SliceEvidenceStrength
Source§impl Debug for SliceEvidenceStrength
impl Debug for SliceEvidenceStrength
impl Eq for SliceEvidenceStrength
Source§impl PartialEq for SliceEvidenceStrength
impl PartialEq for SliceEvidenceStrength
impl StructuralPartialEq for SliceEvidenceStrength
Auto Trait Implementations§
impl Freeze for SliceEvidenceStrength
impl RefUnwindSafe for SliceEvidenceStrength
impl Send for SliceEvidenceStrength
impl Sync for SliceEvidenceStrength
impl Unpin for SliceEvidenceStrength
impl UnsafeUnpin for SliceEvidenceStrength
impl UnwindSafe for SliceEvidenceStrength
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