pub enum EffectiveHostError {
InvalidHost,
Spawn(String),
Failed(String),
NoHostname,
Process(Failure),
Unresolved,
}Expand description
Why effective-host evaluation failed, typed at the boundary the UI reports it. None of these ever carries a guessed hostname.
Variants§
InvalidHost
The host text cannot be a hostname or alias — never spawned.
Spawn(String)
The ssh program could not run.
Failed(String)
ssh -G exited non-zero; carries its stderr.
NoHostname
ssh -G produced no usable hostname line.
Process(Failure)
Unresolved
Trait Implementations§
Source§impl Clone for EffectiveHostError
impl Clone for EffectiveHostError
Source§fn clone(&self) -> EffectiveHostError
fn clone(&self) -> EffectiveHostError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectiveHostError
impl Debug for EffectiveHostError
Source§impl Display for EffectiveHostError
impl Display for EffectiveHostError
impl Eq for EffectiveHostError
Source§impl Error for EffectiveHostError
impl Error for EffectiveHostError
1.30.0 · 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 PartialEq for EffectiveHostError
impl PartialEq for EffectiveHostError
impl StructuralPartialEq for EffectiveHostError
Auto Trait Implementations§
impl Freeze for EffectiveHostError
impl RefUnwindSafe for EffectiveHostError
impl Send for EffectiveHostError
impl Sync for EffectiveHostError
impl Unpin for EffectiveHostError
impl UnsafeUnpin for EffectiveHostError
impl UnwindSafe for EffectiveHostError
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