pub enum UpdateError {
ImmutableValue,
InvalidUpdate,
AccessError(Box<AccessError>),
TypeError(Box<TypeError>),
}Variants§
Implementations§
Source§impl UpdateError
impl UpdateError
pub fn access_error<T: Into<AccessError>>(err: T) -> Self
Trait Implementations§
Source§impl Clone for UpdateError
impl Clone for UpdateError
Source§fn clone(&self) -> UpdateError
fn clone(&self) -> UpdateError
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 UpdateError
impl Debug for UpdateError
Source§impl Display for UpdateError
impl Display 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
Source§fn eq(&self, other: &UpdateError) -> bool
fn eq(&self, other: &UpdateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateError
Auto Trait Implementations§
impl !RefUnwindSafe for UpdateError
impl !Send for UpdateError
impl !Sync for UpdateError
impl !UnwindSafe for UpdateError
impl Freeze 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<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