pub enum UpdateError {
TypeError {
found: &'static str,
expected: &'static str,
},
TooManyKeys {
elements_remaning: usize,
},
UnknownField {
valid_fields: &'static [&'static str],
},
CantSerialize {
data_type: &'static str,
},
}
Variants§
Trait Implementations§
Source§impl Clone for UpdateError
impl Clone for UpdateError
Source§fn clone(&self) -> UpdateError
fn clone(&self) -> UpdateError
Returns a copy of the value. Read more
1.0.0 · 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 PartialEq for UpdateError
impl PartialEq for UpdateError
impl Copy for UpdateError
impl StructuralPartialEq for UpdateError
Auto Trait Implementations§
impl Freeze for UpdateError
impl RefUnwindSafe for UpdateError
impl Send for UpdateError
impl Sync for UpdateError
impl Unpin for UpdateError
impl UnwindSafe 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