pub enum PropertyError {
Missing,
SerializeError(Box<dyn Error + Send + Sync>),
DeserializeError(Box<dyn Error + Send + Sync>),
RetrievalError(RetrievalError),
InvalidVariant {
given: Value,
ty: String,
},
InvalidValue {
value: String,
ty: String,
},
TransactionClosed,
CastError(CastError),
}Variants§
Missing
SerializeError(Box<dyn Error + Send + Sync>)
DeserializeError(Box<dyn Error + Send + Sync>)
RetrievalError(RetrievalError)
InvalidVariant
InvalidValue
TransactionClosed
CastError(CastError)
Trait Implementations§
Source§impl Debug for PropertyError
impl Debug for PropertyError
Source§impl Display for PropertyError
impl Display for PropertyError
Source§impl Error for PropertyError
impl Error for PropertyError
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()
Source§impl From<CastError> for PropertyError
impl From<CastError> for PropertyError
Source§fn from(err: CastError) -> PropertyError
fn from(err: CastError) -> PropertyError
Converts to this type from the input type.
Source§impl From<Error> for PropertyError
impl From<Error> for PropertyError
Source§fn from(e: Error) -> PropertyError
fn from(e: Error) -> PropertyError
Converts to this type from the input type.
Source§impl From<PropertyError> for AccessDenied
impl From<PropertyError> for AccessDenied
Source§fn from(error: PropertyError) -> AccessDenied
fn from(error: PropertyError) -> AccessDenied
Converts to this type from the input type.
Source§impl From<PropertyError> for MutationError
impl From<PropertyError> for MutationError
Source§fn from(err: PropertyError) -> MutationError
fn from(err: PropertyError) -> MutationError
Converts to this type from the input type.
Source§impl From<PropertyError> for RetrievalError
impl From<PropertyError> for RetrievalError
Source§fn from(err: PropertyError) -> RetrievalError
fn from(err: PropertyError) -> RetrievalError
Converts to this type from the input type.
Source§impl From<RetrievalError> for PropertyError
impl From<RetrievalError> for PropertyError
Source§fn from(retrieval: RetrievalError) -> PropertyError
fn from(retrieval: RetrievalError) -> PropertyError
Converts to this type from the input type.
Source§impl PartialEq for PropertyError
impl PartialEq for PropertyError
Auto Trait Implementations§
impl Freeze for PropertyError
impl !RefUnwindSafe for PropertyError
impl Send for PropertyError
impl Sync for PropertyError
impl Unpin for PropertyError
impl !UnwindSafe for PropertyError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.