pub struct HostSources { /* private fields */ }Expand description
Explicit enumeration inputs. The caller owns path resolution, so enumeration itself is isolated from ambient state.
Implementations§
Source§impl HostSources
impl HostSources
pub fn push_config(&mut self, path: PathBuf) -> &mut Self
pub fn push_known_hosts(&mut self, path: PathBuf) -> &mut Self
Sourcepub fn set_include_base(&mut self, base: PathBuf) -> &mut Self
pub fn set_include_base(&mut self, base: PathBuf) -> &mut Self
Relative Include arguments resolve against this directory
(ssh_config(5) resolves them against ~/.ssh).
Trait Implementations§
Source§impl Clone for HostSources
impl Clone for HostSources
Source§fn clone(&self) -> HostSources
fn clone(&self) -> HostSources
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 HostSources
impl Debug for HostSources
Source§impl Default for HostSources
impl Default for HostSources
Source§fn default() -> HostSources
fn default() -> HostSources
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HostSources
impl RefUnwindSafe for HostSources
impl Send for HostSources
impl Sync for HostSources
impl Unpin for HostSources
impl UnsafeUnpin for HostSources
impl UnwindSafe for HostSources
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