Enum igd::GetExternalIpError
source · [−]pub enum GetExternalIpError {
ActionNotAuthorized,
RequestError(RequestError),
}
Expand description
Errors returned by Gateway::get_external_ip
Variants
ActionNotAuthorized
The client is not authorized to perform the operation.
RequestError(RequestError)
Some other error occured performing the request.
Trait Implementations
sourceimpl Debug for GetExternalIpError
impl Debug for GetExternalIpError
sourceimpl Display for GetExternalIpError
impl Display for GetExternalIpError
sourceimpl Error for GetExternalIpError
impl Error for GetExternalIpError
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for GetExternalIpError
impl From<Error> for GetExternalIpError
sourcefn from(err: Error) -> GetExternalIpError
fn from(err: Error) -> GetExternalIpError
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GetExternalIpError
impl Send for GetExternalIpError
impl Sync for GetExternalIpError
impl Unpin for GetExternalIpError
impl !UnwindSafe for GetExternalIpError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more