pub enum SidecarError {
Io(Error),
InvalidToml {
path: PathBuf,
source: Error,
},
SerializeToml(Error),
}Expand description
Errors raised while loading or writing a sidecar.
Variants§
Io(Error)
I/O error reading or writing the sidecar file.
InvalidToml
TOML parser rejected the file body.
SerializeToml(Error)
TOML serializer rejected the in-memory struct.
Trait Implementations§
Source§impl Debug for SidecarError
impl Debug for SidecarError
Source§impl Display for SidecarError
impl Display for SidecarError
Source§impl Error for SidecarError
impl Error for SidecarError
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()
Source§impl From<Error> for SidecarError
impl From<Error> for SidecarError
Auto Trait Implementations§
impl Freeze for SidecarError
impl !RefUnwindSafe for SidecarError
impl Send for SidecarError
impl Sync for SidecarError
impl Unpin for SidecarError
impl UnsafeUnpin for SidecarError
impl !UnwindSafe for SidecarError
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