Struct keyplace::key_manager::KeyManager[][src]

pub struct KeyManager<S: Toboggan> { /* fields omitted */ }

Implementations

impl<S> KeyManager<S> where
    S: Toboggan
[src]

pub fn new(store: S) -> Result<Self, Error>[src]

pub fn list_agents(&self) -> Result<Vec<AgentId>, Error>[src]

pub fn get_agent_key(
    &self,
    agent_id: &AgentId
) -> Result<Option<AgentKey>, Error>
[src]

pub fn put_agent_key(&self, agentkey: AgentKey) -> Result<(), Error>[src]

pub fn remove_all_agent_keys(&self) -> Result<(), Error>[src]

pub fn set_current_agent(&self, id: AgentId) -> Result<(), Error>[src]

pub fn current_agent_key(&self) -> Result<Option<AgentKey>, Error>[src]

Trait Implementations

impl<T> Default for KeyManager<T> where
    T: Toboggan + Default
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for KeyManager<S> where
    S: RefUnwindSafe,
    <S as Toboggan>::Tree: RefUnwindSafe

impl<S> Send for KeyManager<S> where
    S: Send,
    <S as Toboggan>::Tree: Send

impl<S> Sync for KeyManager<S> where
    S: Sync,
    <S as Toboggan>::Tree: Sync

impl<S> Unpin for KeyManager<S> where
    S: Unpin,
    <S as Toboggan>::Tree: Unpin

impl<S> UnwindSafe for KeyManager<S> where
    S: UnwindSafe,
    <S as Toboggan>::Tree: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,