pub struct DataStoreError(/* private fields */);
Expand description
This struct is used to hold the error returned by the server’s
DataStore manipulation methods. We manually implement PartialEq
so this
struct could be included in the ServerError
enum,
which are asserted for equality in tests.
Trait Implementations§
Source§impl Debug for DataStoreError
impl Debug for DataStoreError
Source§impl Display for DataStoreError
impl Display for DataStoreError
Source§impl Error for DataStoreError
impl Error for DataStoreError
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 DataStoreError
impl From<Error> for DataStoreError
Source§impl PartialEq for DataStoreError
impl PartialEq for DataStoreError
Auto Trait Implementations§
impl Freeze for DataStoreError
impl RefUnwindSafe for DataStoreError
impl Send for DataStoreError
impl Sync for DataStoreError
impl Unpin for DataStoreError
impl UnwindSafe for DataStoreError
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