pub enum AddressStateProviderError {
AddressRemoved(AddressRemovalReason),
Fidl(Error),
ChannelClosed,
}
Expand description
Error type when using a fnet_interfaces_admin::AddressStateProviderProxy
.
Variants§
AddressRemoved(AddressRemovalReason)
Address removed error.
Fidl(Error)
FIDL error.
ChannelClosed
Channel closed.
Trait Implementations§
Source§impl Debug for AddressStateProviderError
impl Debug for AddressStateProviderError
Source§impl Display for AddressStateProviderError
impl Display for AddressStateProviderError
Source§impl Error for AddressStateProviderError
impl Error for AddressStateProviderError
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<Error> for AddressStateProviderError
impl From<Error> for AddressStateProviderError
Source§impl From<TerminalError<AddressRemovalReason>> for AddressStateProviderError
impl From<TerminalError<AddressRemovalReason>> for AddressStateProviderError
Source§fn from(e: TerminalError<AddressRemovalReason>) -> Self
fn from(e: TerminalError<AddressRemovalReason>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddressStateProviderError
impl !RefUnwindSafe for AddressStateProviderError
impl Send for AddressStateProviderError
impl Sync for AddressStateProviderError
impl Unpin for AddressStateProviderError
impl !UnwindSafe for AddressStateProviderError
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