Struct aws_smithy_runtime::client::http::body::content_length_enforcement::ContentLengthError
source · pub struct ContentLengthError { /* private fields */ }
Expand description
An error returned when a body did not have the expected content length
Trait Implementations§
source§impl Debug for ContentLengthError
impl Debug for ContentLengthError
source§impl Display for ContentLengthError
impl Display for ContentLengthError
source§impl Error for ContentLengthError
impl Error for ContentLengthError
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()
Auto Trait Implementations§
impl Freeze for ContentLengthError
impl RefUnwindSafe for ContentLengthError
impl Send for ContentLengthError
impl Sync for ContentLengthError
impl Unpin for ContentLengthError
impl UnwindSafe for ContentLengthError
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>
Creates a shared type from an unshared type.