[][src]Struct crypto::buffer::OwnedReadBuffer

pub struct OwnedReadBuffer { /* fields omitted */ }

Methods

impl OwnedReadBuffer[src]

pub fn new(buff: Vec<u8>) -> OwnedReadBuffer[src]

pub fn new_with_len<'a>(buff: Vec<u8>, len: usize) -> OwnedReadBuffer[src]

pub fn into_write_buffer(self) -> OwnedWriteBuffer[src]

pub fn borrow_write_buffer(&mut self) -> BorrowedWriteBuffer[src]

Trait Implementations

impl ReadBuffer for OwnedReadBuffer[src]

fn position(&self) -> usize[src]

fn peek_remaining(&self) -> &[u8][src]

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

fn push_to<W: WriteBuffer>(&mut self, output: &mut W)[src]

Auto Trait Implementations

impl Unpin for OwnedReadBuffer

impl Sync for OwnedReadBuffer

impl Send for OwnedReadBuffer

impl UnwindSafe for OwnedReadBuffer

impl RefUnwindSafe for OwnedReadBuffer

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]