Enum tx_bakery_ogmios::error::OgmiosError
source · pub enum OgmiosError {
TryFromPLAError(TryFromPLAError),
TryFromCSLError(TryFromCSLError),
ConversionError {
label: String,
source: Error,
},
RequestError(Error),
IOError(Error),
StartupError(Error),
JSONRpcError(Error),
}
Variants§
TryFromPLAError(TryFromPLAError)
TryFromCSLError(TryFromCSLError)
ConversionError
RequestError(Error)
IOError(Error)
StartupError(Error)
JSONRpcError(Error)
Trait Implementations§
source§impl Debug for OgmiosError
impl Debug for OgmiosError
source§impl Display for OgmiosError
impl Display for OgmiosError
source§impl Error for OgmiosError
impl Error for OgmiosError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for OgmiosError
impl From<Error> for OgmiosError
source§impl From<Error> for OgmiosError
impl From<Error> for OgmiosError
source§impl From<Error> for OgmiosError
impl From<Error> for OgmiosError
source§impl From<OgmiosError> for ChainQueryError
impl From<OgmiosError> for ChainQueryError
source§fn from(err: OgmiosError) -> ChainQueryError
fn from(err: OgmiosError) -> ChainQueryError
Converts to this type from the input type.
source§impl From<OgmiosError> for SubmitterError
impl From<OgmiosError> for SubmitterError
source§fn from(err: OgmiosError) -> SubmitterError
fn from(err: OgmiosError) -> SubmitterError
Converts to this type from the input type.
source§impl From<TryFromCSLError> for OgmiosError
impl From<TryFromCSLError> for OgmiosError
Auto Trait Implementations§
impl Freeze for OgmiosError
impl !RefUnwindSafe for OgmiosError
impl Send for OgmiosError
impl Sync for OgmiosError
impl Unpin for OgmiosError
impl !UnwindSafe for OgmiosError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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