Enum splinter::registry::RegistryError [−][src]
pub enum RegistryError {
InvalidNode(InvalidNodeError),
GeneralError {
context: String,
source: Option<Box<dyn Error + Send>>,
},
}
Expand description
Represents errors that occur with node registry operations
Variants
InvalidNode(InvalidNodeError)
Tuple Fields
A node was found to be invalid
GeneralError
A general error occurred in the node registry
Implementations
Create a new NodeRegistryError::GeneralError
with just a context string (no source error).
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RegistryError
impl Send for RegistryError
impl !Sync for RegistryError
impl Unpin for RegistryError
impl !UnwindSafe for RegistryError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more