Enum async_ssh2_lite::util::ConnectInfo
source · pub enum ConnectInfo {
Tcp(SocketAddr),
Unix(Box<Path>),
}
Variants§
Tcp(SocketAddr)
Unix(Box<Path>)
Implementations§
Trait Implementations§
source§impl Clone for ConnectInfo
impl Clone for ConnectInfo
source§fn clone(&self) -> ConnectInfo
fn clone(&self) -> ConnectInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ConnectInfo
impl Send for ConnectInfo
impl Sync for ConnectInfo
impl Unpin for ConnectInfo
impl UnwindSafe for ConnectInfo
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