pub enum UpdateBlockError {
Status400(ApiError),
Status401(ApiError),
Status404(ApiError),
UnknownValue(Value),
}Expand description
struct for typed errors of method update_block
Variants§
Trait Implementations§
Source§impl Clone for UpdateBlockError
impl Clone for UpdateBlockError
Source§fn clone(&self) -> UpdateBlockError
fn clone(&self) -> UpdateBlockError
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 UpdateBlockError
impl Debug for UpdateBlockError
Source§impl<'de> Deserialize<'de> for UpdateBlockError
impl<'de> Deserialize<'de> for UpdateBlockError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateBlockError
impl RefUnwindSafe for UpdateBlockError
impl Send for UpdateBlockError
impl Sync for UpdateBlockError
impl Unpin for UpdateBlockError
impl UnsafeUnpin for UpdateBlockError
impl UnwindSafe for UpdateBlockError
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