Enum nreplops_tool::socket::Socket
source · [−]Variants
TcpStream(TcpStream)
SshClient(Child)
Implementations
sourceimpl Socket
impl Socket
pub fn borrow_mut_read(&mut self) -> &mut dyn Read
pub fn borrow_mut_write(&mut self) -> &mut dyn Write
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Socket
impl Send for Socket
impl Sync for Socket
impl Unpin for Socket
impl UnwindSafe for Socket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more