pub enum ProjectStoreError {
Io(Error),
Json(Error),
NotFound(ProjectId),
AlreadyExists(ProjectId),
Conflict {
expected: u64,
actual: u64,
},
Validation(String),
InvalidPathComponent(String),
}Variants§
Io(Error)
Json(Error)
NotFound(ProjectId)
AlreadyExists(ProjectId)
Conflict
Validation(String)
InvalidPathComponent(String)
Trait Implementations§
Source§impl Debug for ProjectStoreError
impl Debug for ProjectStoreError
Source§impl Display for ProjectStoreError
impl Display for ProjectStoreError
Source§impl Error for ProjectStoreError
impl Error for ProjectStoreError
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 ProjectStoreError
impl From<Error> for ProjectStoreError
Auto Trait Implementations§
impl !RefUnwindSafe for ProjectStoreError
impl !UnwindSafe for ProjectStoreError
impl Freeze for ProjectStoreError
impl Send for ProjectStoreError
impl Sync for ProjectStoreError
impl Unpin for ProjectStoreError
impl UnsafeUnpin for ProjectStoreError
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