pub enum GetItemError<E> {
TryFrom {
cause: E,
},
Dynamo {
cause: DynamoDBError,
},
}Expand description
An error occurred while using the extracting get_item wrapper.
Variants§
TryFrom
An error occurred when calling the provided TryFrom implementation.
Fields
§
cause: EThe underlying error.
Dynamo
An error occurred when calling Dynamo.
Fields
§
cause: DynamoDBErrorThe underlying error.
Trait Implementations§
Source§impl<E: Debug> Debug for GetItemError<E>
impl<E: Debug> Debug for GetItemError<E>
Source§impl<E> Error for GetItemError<E>
impl<E> Error for GetItemError<E>
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<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<E> Freeze for GetItemError<E>where
E: Freeze,
impl<E> !RefUnwindSafe for GetItemError<E>
impl<E> Send for GetItemError<E>where
E: Send,
impl<E> Sync for GetItemError<E>where
E: Sync,
impl<E> Unpin for GetItemError<E>where
E: Unpin,
impl<E> !UnwindSafe for GetItemError<E>
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