pub enum RoundtripStatus {
Identical,
Reordered,
Drift(String),
}Expand description
Outcome of a round-trip verification.
Variants§
Identical
Reconstructed file is byte-identical to the original.
Reordered
Reconstructed file differs only in sibling/attribute order; content is semantically equal.
Drift(String)
Reconstructed file lost or changed content. The String names the reason.
Trait Implementations§
Source§impl Clone for RoundtripStatus
impl Clone for RoundtripStatus
Source§fn clone(&self) -> RoundtripStatus
fn clone(&self) -> RoundtripStatus
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 RoundtripStatus
impl Debug for RoundtripStatus
impl Eq for RoundtripStatus
Source§impl PartialEq for RoundtripStatus
impl PartialEq for RoundtripStatus
Source§fn eq(&self, other: &RoundtripStatus) -> bool
fn eq(&self, other: &RoundtripStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoundtripStatus
Auto Trait Implementations§
impl Freeze for RoundtripStatus
impl RefUnwindSafe for RoundtripStatus
impl Send for RoundtripStatus
impl Sync for RoundtripStatus
impl Unpin for RoundtripStatus
impl UnsafeUnpin for RoundtripStatus
impl UnwindSafe for RoundtripStatus
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<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
Compare self to
key and return true if they are equal.