pub enum Information {
Continue,
SwitchingProtocols,
}Expand description
Information Messages
Variants§
Continue
This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
SwitchingProtocols
This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.
Trait Implementations§
Source§impl Clone for Information
impl Clone for Information
Source§fn clone(&self) -> Information
fn clone(&self) -> Information
Returns a duplicate of the value. Read more
1.0.0 · 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 Information
impl Debug for Information
Source§impl PartialEq for Information
impl PartialEq for Information
impl Eq for Information
impl StructuralPartialEq for Information
Auto Trait Implementations§
impl Freeze for Information
impl RefUnwindSafe for Information
impl Send for Information
impl Sync for Information
impl Unpin for Information
impl UnwindSafe for Information
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