#[non_exhaustive]pub enum ProtocolField {
StatusCode,
Method,
Uri,
Version,
}Expand description
Identifies which ICAP/HTTP field carried an invalid value in
ProtocolError::InvalidField.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ProtocolField
impl Clone for ProtocolField
Source§fn clone(&self) -> ProtocolField
fn clone(&self) -> ProtocolField
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 ProtocolField
Source§impl Debug for ProtocolField
impl Debug for ProtocolField
Source§impl Display for ProtocolField
impl Display for ProtocolField
impl Eq for ProtocolField
Source§impl PartialEq for ProtocolField
impl PartialEq for ProtocolField
impl StructuralPartialEq for ProtocolField
Auto Trait Implementations§
impl Freeze for ProtocolField
impl RefUnwindSafe for ProtocolField
impl Send for ProtocolField
impl Sync for ProtocolField
impl Unpin for ProtocolField
impl UnsafeUnpin for ProtocolField
impl UnwindSafe for ProtocolField
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