pub enum SourcePackageError {
Io {
action: &'static str,
path: PathBuf,
source: Error,
},
Json {
action: &'static str,
path: PathBuf,
source: Error,
},
InvalidPayload(String),
}Expand description
Source package materialization errors.
Variants§
Io
Filesystem operation failed.
Fields
Json
JSON sidecar or manifest operation failed.
Fields
InvalidPayload(String)
The caller supplied an invalid materialization request or payload.
Trait Implementations§
Source§impl Debug for SourcePackageError
impl Debug for SourcePackageError
Source§impl Display for SourcePackageError
impl Display for SourcePackageError
Source§impl Error for SourcePackageError
impl Error for SourcePackageError
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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 SourcePackageError
impl !UnwindSafe for SourcePackageError
impl Freeze for SourcePackageError
impl Send for SourcePackageError
impl Sync for SourcePackageError
impl Unpin for SourcePackageError
impl UnsafeUnpin for SourcePackageError
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