[−][src]Struct crypto::buffer::OwnedWriteBuffer
Methods
impl OwnedWriteBuffer
[src]
impl OwnedWriteBuffer
pub fn new(buff: Vec<u8>) -> OwnedWriteBuffer
[src]
pub fn new(buff: Vec<u8>) -> OwnedWriteBuffer
pub fn into_read_buffer(self) -> OwnedReadBuffer
[src]
pub fn into_read_buffer(self) -> OwnedReadBuffer
Trait Implementations
impl WriteBuffer for OwnedWriteBuffer
[src]
impl WriteBuffer for OwnedWriteBuffer
fn is_empty(&self) -> bool
[src]
fn is_empty(&self) -> bool
fn is_full(&self) -> bool
[src]
fn is_full(&self) -> bool
fn remaining(&self) -> usize
[src]
fn remaining(&self) -> usize
fn capacity(&self) -> usize
[src]
fn capacity(&self) -> usize
fn rewind(&mut self, distance: usize)
[src]
fn rewind(&mut self, distance: usize)
fn reset(&mut self)
[src]
fn reset(&mut self)
fn peek_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>
[src]
fn peek_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>
fn take_next<'a>(&'a mut self, count: usize) -> &'a mut [u8]
[src]
fn take_next<'a>(&'a mut self, count: usize) -> &'a mut [u8]
fn take_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>
[src]
fn take_read_buffer<'a>(&'a mut self) -> RefReadBuffer<'a>
fn position(&self) -> usize
[src]
fn position(&self) -> usize
fn take_remaining(&mut self) -> &mut [u8]
[src]
fn take_remaining(&mut self) -> &mut [u8]
Auto Trait Implementations
impl Send for OwnedWriteBuffer
impl Send for OwnedWriteBuffer
impl Sync for OwnedWriteBuffer
impl Sync for OwnedWriteBuffer
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T