[][src]Trait crypto::buffer::WriteBuffer

pub trait WriteBuffer {
    fn is_empty(&self) -> bool;
fn is_full(&self) -> bool;
fn remaining(&self) -> usize;
fn capacity(&self) -> usize;
fn rewind(&mut self, distance: usize);
fn reset(&mut self);
fn peek_read_buffer(&mut self) -> RefReadBuffer;
fn take_next(&mut self, count: usize) -> &mut [u8];
fn take_read_buffer(&mut self) -> RefReadBuffer; fn position(&self) -> usize { ... }
fn take_remaining(&mut self) -> &mut [u8] { ... } }

Required methods

fn is_empty(&self) -> bool

fn is_full(&self) -> bool

fn remaining(&self) -> usize

fn capacity(&self) -> usize

fn rewind(&mut self, distance: usize)

fn reset(&mut self)

fn peek_read_buffer(&mut self) -> RefReadBuffer

fn take_next(&mut self, count: usize) -> &mut [u8]

fn take_read_buffer(&mut self) -> RefReadBuffer

Loading content...

Provided methods

fn position(&self) -> usize

fn take_remaining(&mut self) -> &mut [u8]

Loading content...

Implementors

impl WriteBuffer for OwnedWriteBuffer[src]

impl<'a> WriteBuffer for BorrowedWriteBuffer<'a>[src]

impl<'a> WriteBuffer for RefWriteBuffer<'a>[src]

Loading content...