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§
Sourcefn open_status(&self) -> &OpenStatus
fn open_status(&self) -> &OpenStatus
Get the open status
Sourcefn open_status_mut(&mut self) -> &mut OpenStatus
fn open_status_mut(&mut self) -> &mut OpenStatus
Get the mutable open status
Sourcefn into_open_status(self) -> OpenStatus
fn into_open_status(self) -> OpenStatus
Get the open status