pub struct Remote { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Connection for Remote
impl Connection for Remote
type Reader = ReadHalf<TcpStream>
type Writer = WriteHalf<TcpStream>
fn reader_mut(&mut self) -> &mut Self::Reader
fn writer_mut(&mut self) -> &mut Self::Writer
fn reader_and_writer_mut(&mut self) -> (&mut Self::Reader, &mut Self::Writer)
fn send<'life0, 'life1, 'async_trait, D>( &'life0 mut self, data: &'life1 D, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
fn sendline<'life0, 'life1, 'async_trait, D>( &'life0 mut self, data: &'life1 D, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
fn recvuntil<'life0, 'life1, 'async_trait>(
&'life0 mut self,
pattern: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn recvline<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
fn interactive<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
Auto Trait Implementations§
impl Freeze for Remote
impl !RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnsafeUnpin for Remote
impl !UnwindSafe for Remote
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