pub struct Headers {
pub fields: Vec<(String, String)>,
pub ignored: Vec<String>,
}Expand description
A parsed header block.
Fields§
§fields: Vec<(String, String)>Name and value pairs, in the order that they arrived. Names are lower case, because the parser lowercases every line.
ignored: Vec<String>Lines that held no colon. liblsl logs and ignores them.
Implementations§
Source§impl Headers
impl Headers
Trait Implementations§
impl Eq for Headers
impl StructuralPartialEq for Headers
Auto Trait Implementations§
impl Forget for Headers
impl Freeze for Headers
impl Move for Headers
impl RefUnwindSafe for Headers
impl Send for Headers
impl Sync for Headers
impl Unpin for Headers
impl UnsafeUnpin for Headers
impl UnwindSafe for Headers
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