pub enum ContractError {
Std(StdError),
Host(HostError),
Client(ClientError),
Identifier(IdentifierError),
Decoding(DecodingError),
Path(PathError),
}Variants§
Std(StdError)
Host(HostError)
Client(ClientError)
Identifier(IdentifierError)
Decoding(DecodingError)
Path(PathError)
Trait Implementations§
Source§impl Debug for ContractError
impl Debug for ContractError
Source§impl Display for ContractError
impl Display for ContractError
Source§impl From<ClientError> for ContractError
impl From<ClientError> for ContractError
Source§fn from(value: ClientError) -> Self
fn from(value: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<ContractError> for StdError
impl From<ContractError> for StdError
Source§fn from(err: ContractError) -> Self
fn from(err: ContractError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for ContractError
impl From<DecodeError> for ContractError
Source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<DecodingError> for ContractError
impl From<DecodingError> for ContractError
Source§fn from(value: DecodingError) -> Self
fn from(value: DecodingError) -> Self
Converts to this type from the input type.
Source§impl From<HostError> for ContractError
impl From<HostError> for ContractError
Source§impl From<IdentifierError> for ContractError
impl From<IdentifierError> for ContractError
Source§fn from(value: IdentifierError) -> Self
fn from(value: IdentifierError) -> Self
Converts to this type from the input type.
Source§impl From<PathError> for ContractError
impl From<PathError> for ContractError
Auto Trait Implementations§
impl Freeze for ContractError
impl !RefUnwindSafe for ContractError
impl Send for ContractError
impl Sync for ContractError
impl Unpin for ContractError
impl !UnwindSafe for ContractError
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