pub enum StarStoreError {
Cache(ClientError),
Read {
path: PathBuf,
source: Error,
},
Json(Error),
UnsupportedVersion(u32),
InvalidSnapshot,
}Variants§
Trait Implementations§
Source§impl Debug for StarStoreError
impl Debug for StarStoreError
Source§impl Display for StarStoreError
impl Display for StarStoreError
Source§impl Error for StarStoreError
impl Error for StarStoreError
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<ClientError> for StarStoreError
impl From<ClientError> for StarStoreError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for StarStoreError
impl From<Error> for StarStoreError
Source§impl From<StarStoreError> for CalendarHtmlError
impl From<StarStoreError> for CalendarHtmlError
Source§fn from(source: StarStoreError) -> Self
fn from(source: StarStoreError) -> Self
Converts to this type from the input type.
Source§impl From<StarStoreError> for StarSyncError
impl From<StarStoreError> for StarSyncError
Source§fn from(source: StarStoreError) -> Self
fn from(source: StarStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StarStoreError
impl !UnwindSafe for StarStoreError
impl Forget for StarStoreError
impl Freeze for StarStoreError
impl Move for StarStoreError
impl Send for StarStoreError
impl Sync for StarStoreError
impl Unpin for StarStoreError
impl UnsafeUnpin for StarStoreErrorwhere
NonZeroU16Inner: UnsafeUnpin,
*const Inner is !null: UnsafeUnpin,
PhantomData<Inner>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const ErrorImpl is !null: UnsafeUnpin,
PhantomData<ErrorImpl>: UnsafeUnpin,
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