pub struct ProxymapParser { /* private fields */ }
Expand description
PROXYMAP parser for Postfix proxy mapping service
Implementations§
Source§impl ProxymapParser
impl ProxymapParser
Sourcepub fn parse_log_line(&self, line: &str) -> Result<ProxymapEvent, String>
pub fn parse_log_line(&self, line: &str) -> Result<ProxymapEvent, String>
Parse a complete log line into a ProxymapEvent
Sourcepub fn supported_event_types(&self) -> usize
pub fn supported_event_types(&self) -> usize
Get the number of supported event types
Sourcepub fn matches_component(&self, line: &str) -> bool
pub fn matches_component(&self, line: &str) -> bool
Check if this parser can handle the given line
Trait Implementations§
Source§impl ComponentParser for ProxymapParser
impl ComponentParser for ProxymapParser
Source§impl Debug for ProxymapParser
impl Debug for ProxymapParser
Auto Trait Implementations§
impl Freeze for ProxymapParser
impl RefUnwindSafe for ProxymapParser
impl Send for ProxymapParser
impl Sync for ProxymapParser
impl Unpin for ProxymapParser
impl UnwindSafe for ProxymapParser
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> 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