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§
source§impl Debug for RemovePortError
impl Debug for RemovePortError
source§impl Display for RemovePortError
impl Display for RemovePortError
source§impl Error for RemovePortError
impl Error for RemovePortError
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<RemovePortError> for Error
impl From<RemovePortError> for Error
source§fn from(err: RemovePortError) -> Error
fn from(err: RemovePortError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemovePortError
impl !RefUnwindSafe for RemovePortError
impl Send for RemovePortError
impl Sync for RemovePortError
impl Unpin for RemovePortError
impl !UnwindSafe for RemovePortError
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