Struct AccessError
#[non_exhaustive]
pub struct AccessError;
An error returned by LocalKey::try_with.
Trait Implementations
impl Clone for AccessError
fn clone(&self) -> AccessError
impl Copy for AccessError
impl Debug for AccessError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for AccessError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for AccessError
fn assert_fields_are_eq(&self)
impl Error for AccessError
impl PartialEq for AccessError
fn eq(&self, other: &AccessError) -> bool
impl StructuralPartialEq for AccessError
impl TrivialClone for AccessError
Auto Trait Implementations
impl Freeze for AccessError
impl RefUnwindSafe for AccessError
impl Send for AccessError
impl Sync for AccessError
impl Unpin for AccessError
impl UnsafeUnpin for AccessError
impl UnwindSafe for AccessError
Blanket Implementations
impl<T> Any for AccessError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for AccessError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for AccessError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for AccessError
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for AccessError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for AccessError
where
T: Copy + Debug,
impl<T> SizeHint for AccessError
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for AccessError
impl<T> ToOwned for AccessError
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for AccessError
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for AccessError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for AccessError
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for AccessError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>