[][src]Struct lib3h_crypto_api::ReadLocker

pub struct ReadLocker<'a>(_);

Helper object that will automatically secure a Buffer when dropped

Methods

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

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

Trait Implementations

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

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

type Target = [u8]

The resulting type after dereferencing.

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

Auto Trait Implementations

impl<'a> !Send for ReadLocker<'a>

impl<'a> Unpin for ReadLocker<'a>

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

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

impl<'a> !RefUnwindSafe for ReadLocker<'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]