pub struct Format { /* private fields */ }
Implementations§
Source§impl Format
impl Format
pub fn new() -> Self
pub fn encoder<E: Encode>(self, encoder: E) -> Self
pub fn facility(self, facility: Facility) -> Self
pub fn hostname<S: Into<String>>(self, hostname: S) -> Self
pub fn app_name<S: Into<String>>(self, app_name: S) -> Self
pub fn proc_id<S: Into<String>>(self, proc_id: S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Format
impl !RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl !UnwindSafe for Format
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