pub enum ConformanceError {
Completion(CompletionError),
Contract {
scenario: &'static str,
provider: &'static str,
details: String,
},
}Available on crate feature
test-utils and not (target_os=unknown and WebAssembly) only.Expand description
Typed failure from a wire-conformance scenario.
Variants§
Completion(CompletionError)
Opening the stream failed before any wire frame was consumed.
Contract
The pipeline violated the streaming contract table.
Trait Implementations§
Source§impl Debug for ConformanceError
impl Debug for ConformanceError
Source§impl Display for ConformanceError
impl Display for ConformanceError
Source§impl Error for ConformanceError
impl Error for ConformanceError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CompletionError> for ConformanceError
impl From<CompletionError> for ConformanceError
Source§fn from(source: CompletionError) -> ConformanceError
fn from(source: CompletionError) -> ConformanceError
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ConformanceError
impl !RefUnwindSafe for ConformanceError
impl !UnwindSafe for ConformanceError
impl Send for ConformanceError
impl Sync for ConformanceError
impl Unpin for ConformanceError
impl UnsafeUnpin for ConformanceError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DebuggableStorage for T
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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.