pub struct Failure { /* private fields */ }Expand description
Why one command failed.
Every member is always written, source and retry_after_seconds as null when they
have nothing to say, so a caller reads a fixed shape.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Failure
impl<'de> Deserialize<'de> for Failure
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 From<&ConfigError> for Failure
impl From<&ConfigError> for Failure
Source§fn from(error: &ConfigError) -> Self
fn from(error: &ConfigError) -> Self
A configuration this product will not run on. No source caused it — a plugin refusing its own block is refused here, at load, before any source is built.
Source§impl From<&EngineError> for Failure
impl From<&EngineError> for Failure
Source§fn from(error: &EngineError) -> Self
fn from(error: &EngineError) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for Failure
impl JsonSchema for Failure
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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