pub enum RemoteTargetError {
MissingPort(String),
InvalidPort {
raw: String,
source: ParseIntError,
},
DnsLookupFailed {
host: String,
source: Error,
},
DnsNoAddresses {
host: String,
},
InvalidSni {
host: String,
message: String,
},
}Expand description
Errors from parsing the --remote host:port target.
Variants§
Trait Implementations§
Source§impl Debug for RemoteTargetError
impl Debug for RemoteTargetError
Source§impl Display for RemoteTargetError
impl Display for RemoteTargetError
Source§impl Error for RemoteTargetError
impl Error for RemoteTargetError
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()
Auto Trait Implementations§
impl Freeze for RemoteTargetError
impl !RefUnwindSafe for RemoteTargetError
impl Send for RemoteTargetError
impl Sync for RemoteTargetError
impl Unpin for RemoteTargetError
impl UnsafeUnpin for RemoteTargetError
impl !UnwindSafe for RemoteTargetError
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