pub enum InformationalResponseError {
SwitchingProtocols,
TooManyInformationalResponses,
MissingFinalResponse,
}Expand description
Informational or final-response selection failure.
Variants§
SwitchingProtocols
101 Switching Protocols is never admitted by buffered cloud requests.
TooManyInformationalResponses
Too many informational responses preceded the final response.
MissingFinalResponse
A final response was still informational.
Trait Implementations§
Source§impl Clone for InformationalResponseError
impl Clone for InformationalResponseError
Source§fn clone(&self) -> InformationalResponseError
fn clone(&self) -> InformationalResponseError
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 moreimpl Copy for InformationalResponseError
Source§impl Debug for InformationalResponseError
impl Debug for InformationalResponseError
Source§impl Display for InformationalResponseError
impl Display for InformationalResponseError
impl Eq for InformationalResponseError
Source§impl Error for InformationalResponseError
impl Error for InformationalResponseError
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()
impl StructuralPartialEq for InformationalResponseError
Auto Trait Implementations§
impl Freeze for InformationalResponseError
impl RefUnwindSafe for InformationalResponseError
impl Send for InformationalResponseError
impl Sync for InformationalResponseError
impl Unpin for InformationalResponseError
impl UnsafeUnpin for InformationalResponseError
impl UnwindSafe for InformationalResponseError
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