pub enum Variant {
Either,
RFC3164,
RFC5424,
}Expand description
Used to specify which variant of the RFC message we are expecting.
Variants§
Either
Either variant. First attempt to parse as RFC5424, if that fails try RFC3164.
RFC3164
Parse as RFC3164
RFC5424
Parse as RFC5424
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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