pub enum EntMutationError {
BadEdgeValueMutation {
source: EdgeValueMutationError,
},
WrongValueType {
description: String,
},
WrongEdgeValueType {
description: String,
},
NoEdge {
name: String,
},
NoField {
name: String,
},
FieldImmutable {
name: String,
},
FieldComputed {
name: String,
},
MarkUpdatedFailed {
source: SystemTimeError,
},
}
Expand description
Represents some error the can occur when mutating an ent
Variants§
BadEdgeValueMutation
Fields
§
source: EdgeValueMutationError
WrongValueType
WrongEdgeValueType
NoEdge
NoField
FieldImmutable
FieldComputed
MarkUpdatedFailed
Fields
§
source: SystemTimeError
Trait Implementations§
Source§impl Debug for EntMutationError
impl Debug for EntMutationError
Source§impl Display for EntMutationError
impl Display for EntMutationError
Source§impl Error for EntMutationError
impl Error for EntMutationError
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 EntMutationError
impl RefUnwindSafe for EntMutationError
impl Send for EntMutationError
impl Sync for EntMutationError
impl Unpin for EntMutationError
impl UnwindSafe for EntMutationError
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