pub enum GetBlocksError {
BadFirstBlockIndex {
requested_index: u64,
first_valid_index: u64,
},
Other {
error_message: String,
error_code: u64,
},
}Variants§
Trait Implementations§
Source§impl CandidType for GetBlocksError
impl CandidType for GetBlocksError
Source§impl<'de> Deserialize<'de> for GetBlocksError
impl<'de> Deserialize<'de> for GetBlocksError
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 GetBlocksError
impl RefUnwindSafe for GetBlocksError
impl Send for GetBlocksError
impl Sync for GetBlocksError
impl Unpin for GetBlocksError
impl UnwindSafe for GetBlocksError
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