pub struct PyErrWrapper(pub PyErr);
Tuple Fields§
§0: PyErr
Trait Implementations§
Source§impl From<Error> for PyErrWrapper
impl From<Error> for PyErrWrapper
Source§impl From<Error> for PyErrWrapper
impl From<Error> for PyErrWrapper
Source§impl From<ParseCommitmentLevelError> for PyErrWrapper
impl From<ParseCommitmentLevelError> for PyErrWrapper
Source§fn from(e: ParseCommitmentLevelErrorOriginal) -> Self
fn from(e: ParseCommitmentLevelErrorOriginal) -> Self
Converts to this type from the input type.
Source§impl From<ParseHashError> for PyErrWrapper
impl From<ParseHashError> for PyErrWrapper
Source§fn from(e: ParseHashErrorOriginal) -> Self
fn from(e: ParseHashErrorOriginal) -> Self
Converts to this type from the input type.
Source§impl From<PubkeyError> for PyErrWrapper
impl From<PubkeyError> for PyErrWrapper
Source§fn from(e: PubkeyErrorOriginal) -> Self
fn from(e: PubkeyErrorOriginal) -> Self
Converts to this type from the input type.
Source§impl From<PyErrWrapper> for PyErr
impl From<PyErrWrapper> for PyErr
Source§fn from(e: PyErrWrapper) -> Self
fn from(e: PyErrWrapper) -> Self
Converts to this type from the input type.
Source§impl From<SanitizeError> for PyErrWrapper
impl From<SanitizeError> for PyErrWrapper
Source§fn from(e: SanitizeErrorOriginal) -> Self
fn from(e: SanitizeErrorOriginal) -> Self
Converts to this type from the input type.
Source§impl From<SignerError> for PyErrWrapper
impl From<SignerError> for PyErrWrapper
Source§fn from(e: SignerErrorOriginal) -> Self
fn from(e: SignerErrorOriginal) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for PyErrWrapper
impl From<TransactionError> for PyErrWrapper
Source§fn from(e: TransactionErrorOriginal) -> Self
fn from(e: TransactionErrorOriginal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PyErrWrapper
impl !RefUnwindSafe for PyErrWrapper
impl Send for PyErrWrapper
impl Sync for PyErrWrapper
impl Unpin for PyErrWrapper
impl !UnwindSafe for PyErrWrapper
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