[][src]Struct lib3h_crypto_api::WriteLocker

pub struct WriteLocker<'a>(_);

Helper object that will automatically secure a Buffer when dropped

Methods

impl<'a> WriteLocker<'a>[src]

pub fn new(b: &'a mut dyn Buffer) -> Self[src]

Trait Implementations

impl<'a> Drop for WriteLocker<'a>[src]

impl<'a> Deref for WriteLocker<'a>[src]

type Target = [u8]

The resulting type after dereferencing.

impl<'a> DerefMut for WriteLocker<'a>[src]

impl<'a> Debug for WriteLocker<'a>[src]

Auto Trait Implementations

impl<'a> Send for WriteLocker<'a>

impl<'a> Unpin for WriteLocker<'a>

impl<'a> !Sync for WriteLocker<'a>

impl<'a> !UnwindSafe for WriteLocker<'a>

impl<'a> !RefUnwindSafe for WriteLocker<'a>

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]