pub struct EmptyResponseBodyError {
pub message: String,
}Expand description
The provider returned an empty body where one was required.
Fields§
§message: StringExplanation.
Implementations§
Trait Implementations§
Source§impl Clone for EmptyResponseBodyError
impl Clone for EmptyResponseBodyError
Source§fn clone(&self) -> EmptyResponseBodyError
fn clone(&self) -> EmptyResponseBodyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmptyResponseBodyError
impl Debug for EmptyResponseBodyError
Source§impl Default for EmptyResponseBodyError
impl Default for EmptyResponseBodyError
Source§impl Display for EmptyResponseBodyError
impl Display for EmptyResponseBodyError
impl Eq for EmptyResponseBodyError
Source§impl Error for EmptyResponseBodyError
impl Error for EmptyResponseBodyError
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()
Source§impl From<EmptyResponseBodyError> for ProviderError
impl From<EmptyResponseBodyError> for ProviderError
Source§fn from(source: EmptyResponseBodyError) -> Self
fn from(source: EmptyResponseBodyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmptyResponseBodyError
impl PartialEq for EmptyResponseBodyError
impl StructuralPartialEq for EmptyResponseBodyError
Auto Trait Implementations§
impl Freeze for EmptyResponseBodyError
impl RefUnwindSafe for EmptyResponseBodyError
impl Send for EmptyResponseBodyError
impl Sync for EmptyResponseBodyError
impl Unpin for EmptyResponseBodyError
impl UnsafeUnpin for EmptyResponseBodyError
impl UnwindSafe for EmptyResponseBodyError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.