pub enum BuildDfxInterfaceError {
BuildAgent(BuildAgentError),
BuildIdentity(BuildIdentityError),
LoadNetworksConfig(LoadNetworksConfigError),
LoadDfxConfig(LoadDfxConfigError),
NetworkConfig(NetworkConfigError),
FetchRootKey(FetchRootKeyError),
}
Variants§
BuildAgent(BuildAgentError)
BuildIdentity(BuildIdentityError)
LoadNetworksConfig(LoadNetworksConfigError)
LoadDfxConfig(LoadDfxConfigError)
NetworkConfig(NetworkConfigError)
FetchRootKey(FetchRootKeyError)
Trait Implementations§
Source§impl Debug for BuildDfxInterfaceError
impl Debug for BuildDfxInterfaceError
Source§impl Display for BuildDfxInterfaceError
impl Display for BuildDfxInterfaceError
Source§impl Error for BuildDfxInterfaceError
impl Error for BuildDfxInterfaceError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<BuildAgentError> for BuildDfxInterfaceError
impl From<BuildAgentError> for BuildDfxInterfaceError
Source§fn from(source: BuildAgentError) -> Self
fn from(source: BuildAgentError) -> Self
Converts to this type from the input type.
Source§impl From<BuildIdentityError> for BuildDfxInterfaceError
impl From<BuildIdentityError> for BuildDfxInterfaceError
Source§fn from(source: BuildIdentityError) -> Self
fn from(source: BuildIdentityError) -> Self
Converts to this type from the input type.
Source§impl From<FetchRootKeyError> for BuildDfxInterfaceError
impl From<FetchRootKeyError> for BuildDfxInterfaceError
Source§fn from(source: FetchRootKeyError) -> Self
fn from(source: FetchRootKeyError) -> Self
Converts to this type from the input type.
Source§impl From<LoadDfxConfigError> for BuildDfxInterfaceError
impl From<LoadDfxConfigError> for BuildDfxInterfaceError
Source§fn from(source: LoadDfxConfigError) -> Self
fn from(source: LoadDfxConfigError) -> Self
Converts to this type from the input type.
Source§impl From<LoadNetworksConfigError> for BuildDfxInterfaceError
impl From<LoadNetworksConfigError> for BuildDfxInterfaceError
Source§fn from(source: LoadNetworksConfigError) -> Self
fn from(source: LoadNetworksConfigError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkConfigError> for BuildDfxInterfaceError
impl From<NetworkConfigError> for BuildDfxInterfaceError
Source§fn from(source: NetworkConfigError) -> Self
fn from(source: NetworkConfigError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildDfxInterfaceError
impl !RefUnwindSafe for BuildDfxInterfaceError
impl Send for BuildDfxInterfaceError
impl Sync for BuildDfxInterfaceError
impl Unpin for BuildDfxInterfaceError
impl !UnwindSafe for BuildDfxInterfaceError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.