pub enum UpdateError {
ImmutableValue,
ImmutableReference,
InvalidUpdate,
AccessError(Box<AccessError>),
TypeError(Box<TypeError>),
}Variants§
ImmutableValue
ImmutableReference
InvalidUpdate
AccessError(Box<AccessError>)
TypeError(Box<TypeError>)
Implementations§
Source§impl UpdateError
impl UpdateError
pub fn access_error<T: Into<AccessError>>(err: T) -> Self
pub fn type_error<T: Into<TypeError>>(err: T) -> Self
Trait Implementations§
Source§impl Clone for UpdateError
impl Clone for UpdateError
Source§impl Debug for UpdateError
impl Debug for UpdateError
Source§impl Display for UpdateError
impl Display for UpdateError
impl Eq for UpdateError
Source§impl From<AccessError> for UpdateError
impl From<AccessError> for UpdateError
Source§fn from(err: AccessError) -> Self
fn from(err: AccessError) -> Self
Converts to this type from the input type.
Source§impl From<TypeError> for UpdateError
impl From<TypeError> for UpdateError
Source§impl From<UpdateError> for ExecutionError
impl From<UpdateError> for ExecutionError
Source§fn from(error: UpdateError) -> Self
fn from(error: UpdateError) -> Self
Converts to this type from the input type.
Source§impl From<UpdateError> for DIFUpdateError
impl From<UpdateError> for DIFUpdateError
Source§fn from(err: UpdateError) -> Self
fn from(err: UpdateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UpdateError
impl PartialEq for UpdateError
impl StructuralPartialEq for UpdateError
Auto Trait Implementations§
impl !RefUnwindSafe for UpdateError
impl !Send for UpdateError
impl !Sync for UpdateError
impl !UnwindSafe for UpdateError
impl Forget for UpdateError
impl Freeze for UpdateError
impl Move for UpdateError
impl Unpin for UpdateError
impl UnsafeUnpin for UpdateError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
impl<T, U> TypeSubset<U> for Twhere
U: TypeSuperset<T>,
Source§fn is_subset_of(&self, other: &U) -> bool
fn is_subset_of(&self, other: &U) -> bool
Returns whether self is a subset of type