pub enum KeystoreFileError {
NoDataDirectory {
variable: &'static str,
},
Io {
action: &'static str,
path: PathBuf,
source: Error,
},
Reopen(KeystoreError),
Mismatch,
}Variants§
NoDataDirectory
ユーザーのデータを置くところを決める環境変数がない
Io
ファイルかフォルダーを扱えなかった。action は「作れ」「書け」のような、「ませんでした」の前に来る言葉
Reopen(KeystoreError)
書いたキーストアを開き直せない
Mismatch
書いたキーストアの中身が、書こうとしたものと違う
Trait Implementations§
Source§impl Debug for KeystoreFileError
impl Debug for KeystoreFileError
Source§impl Display for KeystoreFileError
impl Display for KeystoreFileError
Source§impl Error for KeystoreFileError
impl Error for KeystoreFileError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for KeystoreFileError
impl !UnwindSafe for KeystoreFileError
impl Freeze for KeystoreFileError
impl Send for KeystoreFileError
impl Sync for KeystoreFileError
impl Unpin for KeystoreFileError
impl UnsafeUnpin for KeystoreFileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more