pub enum InheritableAccessError {
NotInTable,
NotInTokio,
}
Expand description
Returned when the requested inheritable task local did not have a value set.
Variants§
NotInTable
Inheritable task locals are available to this future, however this key doesn’t have a corresponding value.
NotInTokio
Inheritable task locals are not initialized for this future at all.
Trait Implementations§
Source§impl Clone for InheritableAccessError
impl Clone for InheritableAccessError
Source§fn clone(&self) -> InheritableAccessError
fn clone(&self) -> InheritableAccessError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InheritableAccessError
impl Debug for InheritableAccessError
Source§impl Hash for InheritableAccessError
impl Hash for InheritableAccessError
Source§impl PartialEq for InheritableAccessError
impl PartialEq for InheritableAccessError
impl Copy for InheritableAccessError
impl Eq for InheritableAccessError
impl StructuralPartialEq for InheritableAccessError
Auto Trait Implementations§
impl Freeze for InheritableAccessError
impl RefUnwindSafe for InheritableAccessError
impl Send for InheritableAccessError
impl Sync for InheritableAccessError
impl Unpin for InheritableAccessError
impl UnwindSafe for InheritableAccessError
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