Enum miden_client::rpc::RpcError
source · pub enum RpcError {
ConnectionError(String),
DeserializationError(String),
ExpectedFieldMissing(String),
AccountUpdateForPrivateAccountReceived(AccountId),
RequestError(String, String),
}Variants§
ConnectionError(String)
DeserializationError(String)
ExpectedFieldMissing(String)
AccountUpdateForPrivateAccountReceived(AccountId)
RequestError(String, String)
Trait Implementations§
source§impl From<DeserializationError> for RpcError
impl From<DeserializationError> for RpcError
source§fn from(err: DeserializationError) -> Self
fn from(err: DeserializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcError
impl RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl UnwindSafe for RpcError
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