Struct std::thread::AccessError
1.26.0 · source · [−]#[non_exhaustive]pub struct AccessError;Expand description
An error returned by LocalKey::try_with.
Trait Implementations
impl Clone for AccessError
source
impl Clone for AccessError
sourcefn clone(&self) -> AccessError
source
fn clone(&self) -> AccessError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for AccessError
source
impl Debug for AccessError
sourceimpl Display for AccessError
source
impl Display for AccessError
sourceimpl Error for AccessError
source
impl Error for AccessError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · source
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · sourceThe lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
source
fn backtrace(&self) -> Option<&Backtrace>
sourceReturns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0 · source
fn description(&self) -> &str
1.0.0 · source👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl PartialEq<AccessError> for AccessError
source
impl PartialEq<AccessError> for AccessError
sourceimpl Copy for AccessError
sourceimpl Eq for AccessError
sourceimpl StructuralEq for AccessError
sourceimpl StructuralPartialEq for AccessError
sourceAuto Trait Implementations
impl RefUnwindSafe for AccessError
impl Send for AccessError
impl Sync for AccessError
impl Unpin for AccessError
impl UnwindSafe for AccessError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more