pub enum GetBlockError {
InvalidParameter(String),
ResourceNotFound(String),
ResourcePreconditionNotMet(String),
}Expand description
Errors returned by GetBlock
Variants§
InvalidParameter(String)
One or more parameters in the request aren't valid.
ResourceNotFound(String)
The specified resource doesn't exist.
ResourcePreconditionNotMet(String)
The operation failed because a condition wasn't satisfied in advance.
Implementations§
Source§impl GetBlockError
impl GetBlockError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetBlockError>
Trait Implementations§
Source§impl Debug for GetBlockError
impl Debug for GetBlockError
Source§impl Display for GetBlockError
impl Display for GetBlockError
Source§impl Error for GetBlockError
impl Error for GetBlockError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GetBlockError
impl PartialEq for GetBlockError
impl StructuralPartialEq for GetBlockError
Auto Trait Implementations§
impl Freeze for GetBlockError
impl RefUnwindSafe for GetBlockError
impl Send for GetBlockError
impl Sync for GetBlockError
impl Unpin for GetBlockError
impl UnwindSafe for GetBlockError
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