pub enum DynamoDBError {
SerDeJson {
cause: Error,
},
Dynamo(DdbError),
}Expand description
An error returned from a Dynamo call.
Variants§
SerDeJson
When calling Dynamo, Items are serialized/deserialized to/from JSON. This error indicates that a failure occurred when doing so.
Dynamo(DdbError)
An error from the Dynamo host interface.
Trait Implementations§
Source§impl Debug for DynamoDBError
impl Debug for DynamoDBError
Source§impl Display for DynamoDBError
impl Display for DynamoDBError
Source§impl Error for DynamoDBError
impl Error for DynamoDBError
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 From<DdbError> for DynamoDBError
impl From<DdbError> for DynamoDBError
Source§impl<E> From<DynamoDBError> for GetItemError<E>
impl<E> From<DynamoDBError> for GetItemError<E>
Source§fn from(source: DynamoDBError) -> Self
fn from(source: DynamoDBError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DynamoDBError
impl !RefUnwindSafe for DynamoDBError
impl Send for DynamoDBError
impl Sync for DynamoDBError
impl Unpin for DynamoDBError
impl !UnwindSafe for DynamoDBError
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