[−][src]Struct crev_lib::local::Local  
Local config stored in ~/.config/crev
Methods
impl Local[src] 
impl Localpub fn get_root_cache_dir(&self) -> &Path[src] 
pub fn get_root_cache_dir(&self) -> &Pathpub fn auto_open() -> Result<Self>[src] 
pub fn auto_open() -> Result<Self>pub fn auto_create() -> Result<Self>[src] 
pub fn auto_create() -> Result<Self>pub fn auto_create_or_open() -> Result<Self>[src] 
pub fn auto_create_or_open() -> Result<Self>pub fn read_current_id(&self) -> Result<Id>[src] 
pub fn read_current_id(&self) -> Result<Id>pub fn save_current_id(&self, id: &Id) -> Result<()>[src] 
pub fn save_current_id(&self, id: &Id) -> Result<()>pub fn user_dir_path(&self) -> PathBuf[src] 
pub fn user_dir_path(&self) -> PathBufpub fn user_ids_path(&self) -> PathBuf[src] 
pub fn user_ids_path(&self) -> PathBufpub fn user_proofs_path(&self) -> PathBuf[src] 
pub fn user_proofs_path(&self) -> PathBufpub fn list_ids(&self) -> Result<Vec<Id>>[src] 
pub fn list_ids(&self) -> Result<Vec<Id>>pub fn cache_remotes_path(&self) -> PathBuf[src] 
pub fn cache_remotes_path(&self) -> PathBufpub fn load_user_config(&self) -> Result<UserConfig>[src] 
pub fn load_user_config(&self) -> Result<UserConfig>pub fn store_user_config(&self, config: &UserConfig) -> Result<()>[src] 
pub fn store_user_config(&self, config: &UserConfig) -> Result<()>pub fn get_current_userid(&self) -> Result<Id>[src] 
pub fn get_current_userid(&self) -> Result<Id>pub fn read_locked_id(&self, id: &Id) -> Result<LockedId>[src] 
pub fn read_locked_id(&self, id: &Id) -> Result<LockedId>pub fn read_current_locked_id(&self) -> Result<LockedId>[src] 
pub fn read_current_locked_id(&self) -> Result<LockedId>pub fn read_current_unlocked_id(&self, passphrase: &str) -> Result<OwnId>[src] 
pub fn read_current_unlocked_id(&self, passphrase: &str) -> Result<OwnId>pub fn read_unlocked_id(&self, id: &Id, passphrase: &str) -> Result<OwnId>[src] 
pub fn read_unlocked_id(&self, id: &Id, passphrase: &str) -> Result<OwnId>pub fn save_locked_id(&self, id: &LockedId) -> Result<()>[src] 
pub fn save_locked_id(&self, id: &LockedId) -> Result<()>pub fn clone_proof_dir_from_git(
    &self, 
    git_https_url: &str, 
    use_https_push: bool
) -> Result<()>[src] 
pub fn clone_proof_dir_from_git(
    &self, 
    git_https_url: &str, 
    use_https_push: bool
) -> Result<()>Git clone or init new remote Github crev-proof repo
pub fn init_readme_using_this_repo_file(&self) -> Result<()>[src] 
pub fn init_readme_using_this_repo_file(&self) -> Result<()>pub fn get_proofs_dir_path_for_url(&self, url: &Url) -> Result<PathBuf>[src] 
pub fn get_proofs_dir_path_for_url(&self, url: &Url) -> Result<PathBuf>pub fn get_proofs_dir_path(&self) -> Result<PathBuf>[src] 
pub fn get_proofs_dir_path(&self) -> Result<PathBuf>pub fn build_trust_proof(
    &self, 
    id_strings: Vec<String>, 
    passphrase: &str, 
    trust_or_distrust: TrustOrDistrust
) -> Result<()>[src] 
pub fn build_trust_proof(
    &self, 
    id_strings: Vec<String>, 
    passphrase: &str, 
    trust_or_distrust: TrustOrDistrust
) -> Result<()>pub fn fetch_url(&self, url: &str) -> Result<()>[src] 
pub fn fetch_url(&self, url: &str) -> Result<()>pub fn fetch_trusted(&self, trust_params: TrustDistanceParams) -> Result<()>[src] 
pub fn fetch_trusted(&self, trust_params: TrustDistanceParams) -> Result<()>pub fn get_remote_git_cache_path(&self, url: &str) -> PathBuf[src] 
pub fn get_remote_git_cache_path(&self, url: &str) -> PathBufpub fn fetch_remote_git(&self, url: &str) -> Result<()>[src] 
pub fn fetch_remote_git(&self, url: &str) -> Result<()>pub fn fetch_all(&self) -> Result<()>[src] 
pub fn fetch_all(&self) -> Result<()>pub fn run_git(&self, args: Vec<OsString>) -> Result<ExitStatus>[src] 
pub fn run_git(&self, args: Vec<OsString>) -> Result<ExitStatus>pub fn edit_readme(&self) -> Result<()>[src] 
pub fn edit_readme(&self) -> Result<()>pub fn load_db(
    &self, 
    params: &TrustDistanceParams
) -> Result<(TrustDB, HashSet<Id>)>[src] 
pub fn load_db(
    &self, 
    params: &TrustDistanceParams
) -> Result<(TrustDB, HashSet<Id>)>pub fn proof_dir_git_add_path(&self, rel_path: &Path) -> Result<()>[src] 
pub fn proof_dir_git_add_path(&self, rel_path: &Path) -> Result<()>Trait Implementations
impl ProofStore for Local[src] 
impl ProofStore for LocalAuto Trait Implementations
Blanket Implementations
impl<T> From for T[src] 
impl<T> From for Timpl<T, U> Into for T where
    U: From<T>, [src] 
impl<T, U> Into for T where
    U: From<T>, impl<T, U> TryFrom for T where
    T: From<U>, [src] 
impl<T, U> TryFrom for T where
    T: From<U>, type Error = !
🔬 This is a nightly-only experimental API.  (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src] 
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
    T: ?Sized, [src] 
impl<T> Borrow for T where
    T: ?Sized, impl<T> BorrowMut for T where
    T: ?Sized, [src] 
impl<T> BorrowMut for T where
    T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src] 
fn borrow_mut(&mut self) -> &mut Timpl<T, U> TryInto for T where
    U: TryFrom<T>, [src] 
impl<T, U> TryInto for T where
    U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API.  (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src] 
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> Any for T where
    T: 'static + ?Sized, [src] 
impl<T> Any for T where
    T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src] 
fn get_type_id(&self) -> TypeIdimpl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self