pub enum DispatchEnqueueError {
NoActiveGeneration,
QueueFull,
RuntimeClosing,
StaleGeneration,
}Expand description
Rejection before a dispatcher request becomes owned by a generation.
Variants§
NoActiveGeneration
No runtime generation is installed.
QueueFull
The bounded request registry has no capacity.
RuntimeClosing
Shutdown crossed the enqueue linearization point.
StaleGeneration
A retained generation handle no longer names the active generation.
Trait Implementations§
Source§impl Clone for DispatchEnqueueError
impl Clone for DispatchEnqueueError
impl Copy for DispatchEnqueueError
Source§impl Debug for DispatchEnqueueError
impl Debug for DispatchEnqueueError
Source§impl Display for DispatchEnqueueError
impl Display for DispatchEnqueueError
impl Eq for DispatchEnqueueError
Source§impl Error for DispatchEnqueueError
impl Error for DispatchEnqueueError
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()
Source§impl PartialEq for DispatchEnqueueError
impl PartialEq for DispatchEnqueueError
impl StructuralPartialEq for DispatchEnqueueError
Auto Trait Implementations§
impl Freeze for DispatchEnqueueError
impl RefUnwindSafe for DispatchEnqueueError
impl Send for DispatchEnqueueError
impl Sync for DispatchEnqueueError
impl Unpin for DispatchEnqueueError
impl UnsafeUnpin for DispatchEnqueueError
impl UnwindSafe for DispatchEnqueueError
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