Skip to main content

Open

Trait Open 

Source
pub trait Open {
    // Required methods
    fn open_status(&self) -> &OpenStatus;
    fn open_status_mut(&mut self) -> &mut OpenStatus;
    fn into_open_status(self) -> OpenStatus;
}
Expand description

A repository which is open, i.e. the password has been checked and the decryption key is available.

Required Methods§

Source

fn open_status(&self) -> &OpenStatus

Get the open status

Source

fn open_status_mut(&mut self) -> &mut OpenStatus

Get the mutable open status

Source

fn into_open_status(self) -> OpenStatus

Get the open status

Implementors§