pub enum InvalidField {
Name,
Body,
NeedsDiscard,
}Variants§
Name
The field name is not a known IMF field
Body
The field body could not be parsed
NeedsDiscard
The field could be parsed but represents a dummy value that is not part of the RFC-strict syntax. It must be discarded (no meaningful data is lost).
Trait Implementations§
Source§impl Clone for InvalidField
impl Clone for InvalidField
Source§fn clone(&self) -> InvalidField
fn clone(&self) -> InvalidField
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 InvalidField
Auto Trait Implementations§
impl Freeze for InvalidField
impl RefUnwindSafe for InvalidField
impl Send for InvalidField
impl Sync for InvalidField
impl Unpin for InvalidField
impl UnsafeUnpin for InvalidField
impl UnwindSafe for InvalidField
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