Trait Get

Source
trait Get<'a> {
    // Required method
    fn get(self, nth: usize) -> Result<&'a [u8], ReadError>;
}
Expand description

Let’s us call self.something().get(i) instead of get(self.something(), i)

Required Methods§

Source

fn get(self, nth: usize) -> Result<&'a [u8], ReadError>

Implementations on Foreign Types§

Source§

impl<'a> Get<'a> for Option<Result<Index2<'a>, ReadError>>

Source§

fn get(self, nth: usize) -> Result<&'a [u8], ReadError>

Implementors§