Struct dittolive_ditto::error::DittoError [−][src]
pub struct DittoError { /* fields omitted */ }
Implementations
pub fn new<E>(kind: ErrorKind, rust_err: E) -> DittoError where
E: Into<Box<dyn ErrorTrait + Send + Sync>>,
pub fn new<E>(kind: ErrorKind, rust_err: E) -> DittoError where
E: Into<Box<dyn ErrorTrait + Send + Sync>>,
Construct an error from an existing Error creating and error chain
Construct an error with a specific message from a string
Manually specify the Error Kind, but fetch the message from the FFI
The result is returned as a RUST style error
with the cause of
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for DittoError
impl Send for DittoError
impl Sync for DittoError
impl Unpin for DittoError
impl !UnwindSafe for DittoError
Blanket Implementations
Mutably borrows from an owned value. Read more