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