Struct aws_smithy_http::operation::error::SerializationError
source · pub struct SerializationError { /* private fields */ }
Expand description
An error that occurs when serialization of an operation fails.
Implementations§
source§impl SerializationError
impl SerializationError
sourcepub fn unknown_variant(union: &'static str) -> Self
pub fn unknown_variant(union: &'static str) -> Self
An error that occurs when serialization of an operation fails for an unknown reason.
Trait Implementations§
source§impl Debug for SerializationError
impl Debug for SerializationError
source§impl Display for SerializationError
impl Display for SerializationError
source§impl Error for SerializationError
impl Error for SerializationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DateTimeFormatError> for SerializationError
impl From<DateTimeFormatError> for SerializationError
source§fn from(err: DateTimeFormatError) -> SerializationError
fn from(err: DateTimeFormatError) -> SerializationError
Converts to this type from the input type.
source§impl From<SerializationError> for BuildError
impl From<SerializationError> for BuildError
source§fn from(err: SerializationError) -> Self
fn from(err: SerializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SerializationError
impl Send for SerializationError
impl Sync for SerializationError
impl Unpin for SerializationError
impl UnwindSafe for SerializationError
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