pub struct ChanIn<'g>(/* private fields */);
Expand description
An input-only SSH channel, such as stderr for a client
Trait Implementations§
Source§impl Read for ChanIn<'_>
impl Read for ChanIn<'_>
Source§async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>
async fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>
Read some bytes from this source into the specified buffer, returning how many bytes were read. Read more
Source§async fn read_exact(
&mut self,
buf: &mut [u8],
) -> Result<(), ReadExactError<Self::Error>>
async fn read_exact( &mut self, buf: &mut [u8], ) -> Result<(), ReadExactError<Self::Error>>
Read the exact number of bytes required to fill
buf
. Read moreAuto Trait Implementations§
impl<'g> Freeze for ChanIn<'g>
impl<'g> !RefUnwindSafe for ChanIn<'g>
impl<'g> !Send for ChanIn<'g>
impl<'g> !Sync for ChanIn<'g>
impl<'g> Unpin for ChanIn<'g>
impl<'g> !UnwindSafe for ChanIn<'g>
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