Enum ic_agent::agent::agent_error::AgentError [−][src]
pub enum AgentError {}Show variants
InvalidReplicaUrl(String), TimeoutWaitingForResponse(), WaiterRestartError(), SigningError(String), InvalidCborData(Error), CannotCalculateRequestId(RequestIdError), CandidError(Box<dyn Send + Sync + Error>), UrlParseError(ParseError), PrincipalError(PrincipalError), ReplicaError { reject_code: u64, reject_message: String, }, HttpError(HttpErrorPayload), CannotUseAuthenticationOnNonSecureUrl(), AuthenticationError(String), InvalidReplicaStatus, RequestStatusDoneNoReply(String), MessageError(String), CustomError(Box<dyn Send + Sync + Error>), Leb128ReadError(Error), Utf8ReadError(Utf8Error), LookupPathAbsent(Vec<Label>), LookupPathUnknown(Vec<Label>), LookupPathError(Vec<Label>), InvalidRequestStatus(Vec<Label>, String), CertificateVerificationFailed(), DerKeyLengthMismatch { expected: usize, actual: usize, }, DerPrefixMismatch { expected: Vec<u8>, actual: Vec<u8>, }, NoRootKeyInStatus(Status), CouldNotReadRootKey(), BlsInitializationFailure(), WalletCallFailed(String), MissingReplicaTransport(), TransportError(Box<dyn Error + Send + Sync>),
Variants
InvalidReplicaUrl(String)
SigningError(String)
InvalidCborData(Error)
CannotCalculateRequestId(RequestIdError)
UrlParseError(ParseError)
PrincipalError(PrincipalError)
HttpError(HttpErrorPayload)
AuthenticationError(String)
RequestStatusDoneNoReply(String)
MessageError(String)
Leb128ReadError(Error)
Utf8ReadError(Utf8Error)
NoRootKeyInStatus(Status)
WalletCallFailed(String)
Trait Implementations
impl Debug for AgentError
[src]
impl Debug for AgentError
[src]impl Display for AgentError
[src]
impl Display for AgentError
[src]impl Error for AgentError
[src]
impl Error for AgentError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<ParseError> for AgentError
[src]
impl From<ParseError> for AgentError
[src]fn from(source: ParseError) -> Self
[src]
fn from(source: ParseError) -> Self
[src]Performs the conversion.
impl From<PrincipalError> for AgentError
[src]
impl From<PrincipalError> for AgentError
[src]fn from(source: PrincipalError) -> Self
[src]
fn from(source: PrincipalError) -> Self
[src]Performs the conversion.
impl From<RequestIdError> for AgentError
[src]
impl From<RequestIdError> for AgentError
[src]fn from(source: RequestIdError) -> Self
[src]
fn from(source: RequestIdError) -> Self
[src]Performs the conversion.
impl From<Utf8Error> for AgentError
[src]
impl From<Utf8Error> for AgentError
[src]Auto Trait Implementations
impl !RefUnwindSafe for AgentError
impl Send for AgentError
impl Sync for AgentError
impl Unpin for AgentError
impl !UnwindSafe for AgentError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,