pub enum DynarustError {
ConnectionError(String),
TableAlreadyExistsError(String),
UnexpectedError(String),
InvalidRequestError(String),
AttributeParseError(String),
AttributeSerializeError(String),
ResourceDeserializeError(Error),
DynamoError(String),
}Variants§
ConnectionError(String)
TableAlreadyExistsError(String)
UnexpectedError(String)
InvalidRequestError(String)
AttributeParseError(String)
AttributeSerializeError(String)
ResourceDeserializeError(Error)
DynamoError(String)
Trait Implementations§
Source§impl Debug for DynarustError
impl Debug for DynarustError
Source§impl Display for DynarustError
impl Display for DynarustError
Source§impl Error for DynarustError
impl Error for DynarustError
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<Error> for DynarustError
impl From<Error> for DynarustError
Source§impl From<SdkError<BatchGetItemError>> for DynarustError
impl From<SdkError<BatchGetItemError>> for DynarustError
Source§fn from(value: SdkError<BatchGetItemError>) -> Self
fn from(value: SdkError<BatchGetItemError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<CreateTableError>> for DynarustError
impl From<SdkError<CreateTableError>> for DynarustError
Source§fn from(value: SdkError<CreateTableError>) -> Self
fn from(value: SdkError<CreateTableError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<DeleteItemError>> for DynarustError
impl From<SdkError<DeleteItemError>> for DynarustError
Source§fn from(value: SdkError<DeleteItemError>) -> Self
fn from(value: SdkError<DeleteItemError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<GetItemError>> for DynarustError
impl From<SdkError<GetItemError>> for DynarustError
Source§fn from(value: SdkError<GetItemError>) -> Self
fn from(value: SdkError<GetItemError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<PutItemError>> for DynarustError
impl From<SdkError<PutItemError>> for DynarustError
Source§fn from(value: SdkError<PutItemError>) -> Self
fn from(value: SdkError<PutItemError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<QueryError>> for DynarustError
impl From<SdkError<QueryError>> for DynarustError
Source§fn from(value: SdkError<QueryError>) -> Self
fn from(value: SdkError<QueryError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<TransactWriteItemsError>> for DynarustError
impl From<SdkError<TransactWriteItemsError>> for DynarustError
Source§fn from(value: SdkError<TransactWriteItemsError>) -> Self
fn from(value: SdkError<TransactWriteItemsError>) -> Self
Converts to this type from the input type.
Source§impl From<SdkError<UpdateItemError>> for DynarustError
impl From<SdkError<UpdateItemError>> for DynarustError
Source§fn from(value: SdkError<UpdateItemError>) -> Self
fn from(value: SdkError<UpdateItemError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DynarustError
impl !RefUnwindSafe for DynarustError
impl Send for DynarustError
impl Sync for DynarustError
impl Unpin for DynarustError
impl !UnwindSafe for DynarustError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more