#[non_exhaustive]pub enum PhaseStoreError {
Serialize {
details: String,
},
Deserialize {
details: String,
},
}Expand description
Errors from phase state serialization/deserialization.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Serialize
Serialization of a phase value failed.
Deserialize
Deserialization of a phase value failed.
Trait Implementations§
Source§impl Clone for PhaseStoreError
impl Clone for PhaseStoreError
Source§fn clone(&self) -> PhaseStoreError
fn clone(&self) -> PhaseStoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhaseStoreError
impl Debug for PhaseStoreError
Source§impl Display for PhaseStoreError
impl Display for PhaseStoreError
Source§impl Error for PhaseStoreError
impl Error for PhaseStoreError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for PhaseStoreError
impl RefUnwindSafe for PhaseStoreError
impl Send for PhaseStoreError
impl Sync for PhaseStoreError
impl Unpin for PhaseStoreError
impl UnsafeUnpin for PhaseStoreError
impl UnwindSafe for PhaseStoreError
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