pub enum WriteFormat {
RFC5424,
RFC5425,
}Expand description
Format of messages written out. RFC5425 just prepends the length of the 5424 message
Variants§
Trait Implementations§
Source§impl Clone for WriteFormat
impl Clone for WriteFormat
Source§fn clone(&self) -> WriteFormat
fn clone(&self) -> WriteFormat
Returns a duplicate 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 WriteFormat
impl Debug for WriteFormat
Source§impl Default for WriteFormat
impl Default for WriteFormat
Source§fn default() -> WriteFormat
fn default() -> WriteFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for WriteFormat
impl PartialEq for WriteFormat
impl Copy for WriteFormat
impl StructuralPartialEq for WriteFormat
Auto Trait Implementations§
impl Freeze for WriteFormat
impl RefUnwindSafe for WriteFormat
impl Send for WriteFormat
impl Sync for WriteFormat
impl Unpin for WriteFormat
impl UnwindSafe for WriteFormat
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