pub enum BenchmarkSinkFailure {
Failed(String),
}Expand description
A failure reported by Native benchmark-sink author code.
Failed retains the established Native sinkFailed wire code. This type does
not add a message limit to the existing BenchmarkSink contract.
Variants§
Trait Implementations§
Source§impl Clone for BenchmarkSinkFailure
impl Clone for BenchmarkSinkFailure
Source§impl Debug for BenchmarkSinkFailure
impl Debug for BenchmarkSinkFailure
Source§impl<'de> Deserialize<'de> for BenchmarkSinkFailure
impl<'de> Deserialize<'de> for BenchmarkSinkFailure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BenchmarkSinkFailure
impl Display for BenchmarkSinkFailure
impl Eq for BenchmarkSinkFailure
Source§impl Error for BenchmarkSinkFailure
impl Error for BenchmarkSinkFailure
1.30.0 · 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<BenchmarkSinkFailure> for BenchmarkSinkError
impl From<BenchmarkSinkFailure> for BenchmarkSinkError
Source§fn from(value: BenchmarkSinkFailure) -> Self
fn from(value: BenchmarkSinkFailure) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BenchmarkSinkFailure
impl PartialEq for BenchmarkSinkFailure
Source§impl Serialize for BenchmarkSinkFailure
impl Serialize for BenchmarkSinkFailure
impl StructuralPartialEq for BenchmarkSinkFailure
Auto Trait Implementations§
impl Forget for BenchmarkSinkFailure
impl Freeze for BenchmarkSinkFailure
impl Move for BenchmarkSinkFailure
impl RefUnwindSafe for BenchmarkSinkFailure
impl Send for BenchmarkSinkFailure
impl Sync for BenchmarkSinkFailure
impl Unpin for BenchmarkSinkFailure
impl UnsafeUnpin for BenchmarkSinkFailure
impl UnwindSafe for BenchmarkSinkFailure
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