enum CompareOutcome {
Same,
Blessed,
Differed,
}
Expand description
Outcome of comparing a stream to a blessed file,
e.g. .stderr
and .fixed
.
Variants§
Same
Expected and actual outputs are the same
Blessed
Outputs differed but were blessed
Differed
Outputs differed and an error should be emitted
Implementations§
Source§impl CompareOutcome
impl CompareOutcome
fn should_error(&self) -> bool
Trait Implementations§
Source§impl Clone for CompareOutcome
impl Clone for CompareOutcome
Source§fn clone(&self) -> CompareOutcome
fn clone(&self) -> CompareOutcome
Returns a copy of the value. Read more
1.0.0 · 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 CompareOutcome
impl Debug for CompareOutcome
Source§impl PartialEq for CompareOutcome
impl PartialEq for CompareOutcome
impl Copy for CompareOutcome
impl Eq for CompareOutcome
impl StructuralPartialEq for CompareOutcome
Auto Trait Implementations§
impl Freeze for CompareOutcome
impl RefUnwindSafe for CompareOutcome
impl Send for CompareOutcome
impl Sync for CompareOutcome
impl Unpin for CompareOutcome
impl UnwindSafe for CompareOutcome
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
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> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Same
: 0 bytesBlessed
: 0 bytesDiffered
: 0 bytes