pub enum CaseResult {
Pass,
Fail(String),
Skip(&'static str),
}Expand description
Ergebnis eines einzelnen Conformance-Test-Cases.
Variants§
Pass
Test bestanden.
Fail(String)
Test fehlgeschlagen, mit Begruendung.
Skip(&'static str)
Test geskipped (z.B. Spec optional + Feature-Flag aus).
Implementations§
Source§impl CaseResult
impl CaseResult
Sourcepub fn is_acceptable(&self) -> bool
pub fn is_acceptable(&self) -> bool
true wenn Pass oder Skip.
Trait Implementations§
Source§impl Clone for CaseResult
impl Clone for CaseResult
Source§fn clone(&self) -> CaseResult
fn clone(&self) -> CaseResult
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 CaseResult
impl Debug for CaseResult
Source§impl PartialEq for CaseResult
impl PartialEq for CaseResult
Source§fn eq(&self, other: &CaseResult) -> bool
fn eq(&self, other: &CaseResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CaseResult
impl StructuralPartialEq for CaseResult
Auto Trait Implementations§
impl Freeze for CaseResult
impl RefUnwindSafe for CaseResult
impl Send for CaseResult
impl Sync for CaseResult
impl Unpin for CaseResult
impl UnsafeUnpin for CaseResult
impl UnwindSafe for CaseResult
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