pub struct DeadlineHandlerError(pub String);Expand description
Errors surfaced by a DeadlineHandler to the timer service.
Deliberately message-only: the handler lives engine-side and produces the engine’s own typed errors, which the timer service (in a lower crate layer) only needs to observe and propagate as a fire failure.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for DeadlineHandlerError
impl Debug for DeadlineHandlerError
Source§impl Display for DeadlineHandlerError
impl Display for DeadlineHandlerError
Source§impl Error for DeadlineHandlerError
impl Error for DeadlineHandlerError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for DeadlineHandlerError
impl RefUnwindSafe for DeadlineHandlerError
impl Send for DeadlineHandlerError
impl Sync for DeadlineHandlerError
impl Unpin for DeadlineHandlerError
impl UnsafeUnpin for DeadlineHandlerError
impl UnwindSafe for DeadlineHandlerError
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