pub struct PyClassGuardMutError<'a, 'py>(/* private fields */);Expand description
Custom error type for extracting a PyClassGuardMut
Trait Implementations§
Source§impl Debug for PyClassGuardMutError<'_, '_>
impl Debug for PyClassGuardMutError<'_, '_>
Source§impl Display for PyClassGuardMutError<'_, '_>
impl Display for PyClassGuardMutError<'_, '_>
Source§impl From<PyClassGuardMutError<'_, '_>> for PyErr
impl From<PyClassGuardMutError<'_, '_>> for PyErr
Source§fn from(value: PyClassGuardMutError<'_, '_>) -> Self
fn from(value: PyClassGuardMutError<'_, '_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, 'py> Freeze for PyClassGuardMutError<'a, 'py>
impl<'a, 'py> !RefUnwindSafe for PyClassGuardMutError<'a, 'py>
impl<'a, 'py> !Send for PyClassGuardMutError<'a, 'py>
impl<'a, 'py> !Sync for PyClassGuardMutError<'a, 'py>
impl<'a, 'py> Unpin for PyClassGuardMutError<'a, 'py>
impl<'a, 'py> !UnwindSafe for PyClassGuardMutError<'a, 'py>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more