pub struct RemoteEndpoint { /* private fields */ }Expand description
A validated ssh://[user@]host[:port] endpoint.
One endpoint names one pooled session. Aliases keep their spelling: this layer does not infer equivalence between OpenSSH configuration targets.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteEndpoint
impl Clone for RemoteEndpoint
Source§fn clone(&self) -> RemoteEndpoint
fn clone(&self) -> RemoteEndpoint
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 RemoteEndpoint
impl Debug for RemoteEndpoint
Source§impl<'de> Deserialize<'de> for RemoteEndpoint
impl<'de> Deserialize<'de> for RemoteEndpoint
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RemoteEndpoint
impl Display for RemoteEndpoint
impl Eq for RemoteEndpoint
Source§impl From<RemoteFile> for RemoteEndpoint
impl From<RemoteFile> for RemoteEndpoint
Source§fn from(file: RemoteFile) -> Self
fn from(file: RemoteFile) -> Self
Converts to this type from the input type.
Source§impl FromStr for RemoteEndpoint
impl FromStr for RemoteEndpoint
Source§impl Hash for RemoteEndpoint
impl Hash for RemoteEndpoint
Source§impl PartialEq for RemoteEndpoint
impl PartialEq for RemoteEndpoint
Source§impl Serialize for RemoteEndpoint
Serde carries the canonical validated URI — one string, re-parsed on
the way in, so stored values can never bypass admission.
impl Serialize for RemoteEndpoint
Serde carries the canonical validated URI — one string, re-parsed on the way in, so stored values can never bypass admission.
impl StructuralPartialEq for RemoteEndpoint
Auto Trait Implementations§
impl Freeze for RemoteEndpoint
impl RefUnwindSafe for RemoteEndpoint
impl Send for RemoteEndpoint
impl Sync for RemoteEndpoint
impl Unpin for RemoteEndpoint
impl UnsafeUnpin for RemoteEndpoint
impl UnwindSafe for RemoteEndpoint
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