Skip to main content

Reader

Trait Reader 

Source
pub trait Reader {
    // Required method
    fn reader(&self, starting_at: usize) -> Cursor<'_>;
}
Expand description

A cursor-like trait to read SSH-encoded things.

Required Methods§

Source

fn reader(&self, starting_at: usize) -> Cursor<'_>

Create an SSH reader for self.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Reader for [u8]

Source§

fn reader(&self, starting_at: usize) -> Cursor<'_>

Implementors§