#[non_exhaustive]
pub enum StartError {
SpawnFailed(Error),
}Expand description
Error type used to represent failures when starting the Client.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SpawnFailed(Error)
Error used when spawning a background there fails.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StartError
impl Send for StartError
impl Sync for StartError
impl Unpin for StartError
impl !UnwindSafe for StartError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
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