pub enum BenchmarkSinkError {
PayloadCodec(String),
AbiViolation(String),
SinkFailed(String),
ProtocolViolation(String),
}Expand description
Error payload shared by benchmark sink plugins and host-side adapters.
Variants§
Trait Implementations§
Source§impl Clone for BenchmarkSinkError
impl Clone for BenchmarkSinkError
Source§fn clone(&self) -> BenchmarkSinkError
fn clone(&self) -> BenchmarkSinkError
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 BenchmarkSinkError
impl Debug for BenchmarkSinkError
Source§impl<'de> Deserialize<'de> for BenchmarkSinkError
impl<'de> Deserialize<'de> for BenchmarkSinkError
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 BenchmarkSinkError
impl Display for BenchmarkSinkError
impl Eq for BenchmarkSinkError
Source§impl Error for BenchmarkSinkError
impl Error for BenchmarkSinkError
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<PluginProtocolViolation> for BenchmarkSinkError
impl From<PluginProtocolViolation> for BenchmarkSinkError
Source§fn from(value: PluginProtocolViolation) -> Self
fn from(value: PluginProtocolViolation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BenchmarkSinkError
impl PartialEq for BenchmarkSinkError
Source§impl Serialize for BenchmarkSinkError
impl Serialize for BenchmarkSinkError
impl StructuralPartialEq for BenchmarkSinkError
Auto Trait Implementations§
impl Freeze for BenchmarkSinkError
impl RefUnwindSafe for BenchmarkSinkError
impl Send for BenchmarkSinkError
impl Sync for BenchmarkSinkError
impl Unpin for BenchmarkSinkError
impl UnsafeUnpin for BenchmarkSinkError
impl UnwindSafe for BenchmarkSinkError
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