pub enum MessageError {
InvalidContentLength(String),
NoContentLengthOrTransferEncoding(String),
StartLineTooBig(String),
HeadersTooBig(String),
TrailersTooBig(String),
InvalidBoundaryDigit(String),
}Variants§
InvalidContentLength(String)
NoContentLengthOrTransferEncoding(String)
StartLineTooBig(String)
HeadersTooBig(String)
TrailersTooBig(String)
InvalidBoundaryDigit(String)
Implementations§
Trait Implementations§
Source§impl Clone for MessageError
impl Clone for MessageError
Source§fn clone(&self) -> MessageError
fn clone(&self) -> MessageError
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 moreAuto Trait Implementations§
impl Freeze for MessageError
impl RefUnwindSafe for MessageError
impl Send for MessageError
impl Sync for MessageError
impl Unpin for MessageError
impl UnwindSafe for MessageError
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