pub enum TlsError {
NotInCoroutine,
InvalidSlot,
}Expand description
Failure accessing coroutine-local storage.
Variants§
NotInCoroutine
Called outside a running coroutine.
InvalidSlot
Requested slot index is greater than or equal to TLS_SLOTS.
Trait Implementations§
impl Copy for TlsError
impl Eq for TlsError
impl StructuralPartialEq for TlsError
Auto Trait Implementations§
impl Freeze for TlsError
impl RefUnwindSafe for TlsError
impl Send for TlsError
impl Sync for TlsError
impl Unpin for TlsError
impl UnsafeUnpin for TlsError
impl UnwindSafe for TlsError
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