Struct swaystatus::errors::Error [−][src]
pub struct Error {
pub kind: ErrorKind,
pub message: Option<Cow<'static, str>>,
pub cause: Option<Arc<dyn StdError + Send + Sync + 'static>>,
pub block: Option<(BlockType, usize)>,
}
Expand description
Swaystatus’ error type
Fields
kind: ErrorKind
message: Option<Cow<'static, str>>
cause: Option<Arc<dyn StdError + Send + Sync + 'static>>
block: Option<(BlockType, usize)>
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. 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