pub enum TriggerError {
PollError {
message: String,
},
ContextError(ContextError),
}Expand description
Errors that can occur during trigger polling.
Variants§
Trait Implementations§
Source§impl Debug for TriggerError
impl Debug for TriggerError
Source§impl Display for TriggerError
impl Display for TriggerError
Source§impl Error for TriggerError
impl Error for TriggerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ContextError> for TriggerError
impl From<ContextError> for TriggerError
Source§fn from(source: ContextError) -> Self
fn from(source: ContextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TriggerError
impl !RefUnwindSafe for TriggerError
impl Send for TriggerError
impl Sync for TriggerError
impl Unpin for TriggerError
impl UnsafeUnpin for TriggerError
impl !UnwindSafe for TriggerError
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