pub enum AuthSeedError {
SeedHomeUnreadable {
seed_home: PathBuf,
source: Error,
},
SeedHomeNotDirectory {
seed_home: PathBuf,
},
SeedFileMissing {
path: PathBuf,
},
SeedFileNotFile {
path: PathBuf,
},
SeedFileUnreadable {
path: PathBuf,
source: Error,
},
CreateTargetDir {
path: PathBuf,
source: Error,
},
Copy {
source: PathBuf,
destination: PathBuf,
error: Error,
},
}Expand description
Errors that may occur while seeding Codex auth files into a target home.
Variants§
SeedHomeUnreadable
SeedHomeNotDirectory
SeedFileMissing
SeedFileNotFile
SeedFileUnreadable
CreateTargetDir
Copy
Trait Implementations§
Source§impl Debug for AuthSeedError
impl Debug for AuthSeedError
Source§impl Display for AuthSeedError
impl Display for AuthSeedError
Source§impl Error for AuthSeedError
impl Error for AuthSeedError
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 Freeze for AuthSeedError
impl !RefUnwindSafe for AuthSeedError
impl Send for AuthSeedError
impl Sync for AuthSeedError
impl Unpin for AuthSeedError
impl UnsafeUnpin for AuthSeedError
impl !UnwindSafe for AuthSeedError
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