pub struct PartHead<'a> { /* private fields */ }Expand description
A part’s header section, borrowed from the parser’s input and already checked: each line is a field name, a colon, and a value, ending with CRLF.
Interpret it with a base_message::FieldSection, such as PartHeaders, from Self::fields.
Implementations§
Trait Implementations§
impl<'a> Copy for PartHead<'a>
Source§impl Debug for PartHead<'_>
Shows field names and the lengths of their values, since values can carry credentials that must not reach logs.
impl Debug for PartHead<'_>
Shows field names and the lengths of their values, since values can carry credentials that must not reach logs.
impl<'a> Eq for PartHead<'a>
Source§impl<'a> IntoIterator for PartHead<'a>
impl<'a> IntoIterator for PartHead<'a>
impl<'a> StructuralPartialEq for PartHead<'a>
Auto Trait Implementations§
impl<'a> Forget for PartHead<'a>
impl<'a> Freeze for PartHead<'a>
impl<'a> RefUnwindSafe for PartHead<'a>
impl<'a> Send for PartHead<'a>
impl<'a> Sync for PartHead<'a>
impl<'a> Unpin for PartHead<'a>
impl<'a> UnsafeUnpin for PartHead<'a>
impl<'a> UnwindSafe for PartHead<'a>
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