pub enum EnvSyncError {
LocalIo(Error),
LocalParse(ParseError),
TemplateIo(Error),
TemplateParse(ParseError),
Write(Error),
CreateLocal(Error),
CreateTemplate(Error),
}
Expand description
Errors that can occur during environment file synchronization.
Variants§
LocalIo(Error)
Error reading the local environment file
LocalParse(ParseError)
Error parsing the local environment file
TemplateIo(Error)
Error reading the template file
TemplateParse(ParseError)
Error parsing the template file
Write(Error)
Error writing the synchronized content
CreateLocal(Error)
Error creating the local file
CreateTemplate(Error)
Error creating the template file
Trait Implementations§
Source§impl Debug for EnvSyncError
impl Debug for EnvSyncError
Source§impl Display for EnvSyncError
impl Display for EnvSyncError
Source§impl Error for EnvSyncError
impl Error for EnvSyncError
1.30.0 · 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 EnvSyncError
impl !RefUnwindSafe for EnvSyncError
impl Send for EnvSyncError
impl Sync for EnvSyncError
impl Unpin for EnvSyncError
impl !UnwindSafe for EnvSyncError
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