Enum igd::RemovePortError
source · [−]pub enum RemovePortError {
ActionNotAuthorized,
NoSuchPortMapping,
RequestError(RequestError),
}
Expand description
Errors returned by Gateway::remove_port
Variants
ActionNotAuthorized
The client is not authorized to perform the operation.
NoSuchPortMapping
No such port mapping.
RequestError(RequestError)
Some other error occured performing the request.
Trait Implementations
sourceimpl Debug for RemovePortError
impl Debug for RemovePortError
sourceimpl Display for RemovePortError
impl Display for RemovePortError
sourceimpl Error for RemovePortError
impl Error for RemovePortError
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()
Auto Trait Implementations
impl !RefUnwindSafe for RemovePortError
impl Send for RemovePortError
impl Sync for RemovePortError
impl Unpin for RemovePortError
impl !UnwindSafe for RemovePortError
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