pub struct ReadFrames<R>(pub R);Expand description
A FrameSource over a blocking reader.
Tuple Fields§
§0: RTrait Implementations§
Source§impl<R: Debug> Debug for ReadFrames<R>
impl<R: Debug> Debug for ReadFrames<R>
Source§impl<R: Read + MaybeSend> FrameSource for ReadFrames<R>
impl<R: Read + MaybeSend> FrameSource for ReadFrames<R>
Source§async fn next_frame(&mut self) -> Result<SshFrame, FrameIoError>
async fn next_frame(&mut self) -> Result<SshFrame, FrameIoError>
The next frame. A source with a read deadline returns
FrameIoError::Timeout when it passes.Auto Trait Implementations§
impl<R> Freeze for ReadFrames<R>where
R: Freeze,
impl<R> RefUnwindSafe for ReadFrames<R>where
R: RefUnwindSafe,
impl<R> Send for ReadFrames<R>where
R: Send,
impl<R> Sync for ReadFrames<R>where
R: Sync,
impl<R> Unpin for ReadFrames<R>where
R: Unpin,
impl<R> UnsafeUnpin for ReadFrames<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ReadFrames<R>where
R: UnwindSafe,
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