[][src]Trait securestore::BinaryDeserializable

pub trait BinaryDeserializable where
    Self: Sized
{ fn deserialize(bytes: Vec<u8>) -> Result<Self, Box<dyn Error + 'static>>; }

A trait enabling retrieving a secret from the secrets store as an instance of the implementing type.

Required methods

fn deserialize(bytes: Vec<u8>) -> Result<Self, Box<dyn Error + 'static>>

Loading content...

Implementations on Foreign Types

impl BinaryDeserializable for String[src]

impl BinaryDeserializable for Vec<u8>[src]

Loading content...

Implementors

Loading content...