pub struct ExportedHeaderParsers {
pub parsers: Vec<HeaderParserInfo>,
}Fields§
§parsers: Vec<HeaderParserInfo>Implementations§
source§impl ExportedHeaderParsers
impl ExportedHeaderParsers
pub fn add_header_parser(&mut self, parser: String)
pub fn remove_header_parser(&mut self, parser: &str) -> bool
pub fn take(&mut self) -> Self
Trait Implementations§
source§impl Clone for ExportedHeaderParsers
impl Clone for ExportedHeaderParsers
source§fn clone(&self) -> ExportedHeaderParsers
fn clone(&self) -> ExportedHeaderParsers
Returns a copy 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 moresource§impl Debug for ExportedHeaderParsers
impl Debug for ExportedHeaderParsers
source§impl Default for ExportedHeaderParsers
impl Default for ExportedHeaderParsers
source§fn default() -> ExportedHeaderParsers
fn default() -> ExportedHeaderParsers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportedHeaderParsers
impl RefUnwindSafe for ExportedHeaderParsers
impl Send for ExportedHeaderParsers
impl Sync for ExportedHeaderParsers
impl Unpin for ExportedHeaderParsers
impl UnwindSafe for ExportedHeaderParsers
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more