Struct tracing_rfc_5424::rfc3164::Rfc3164Builder
source · pub struct Rfc3164Builder { /* private fields */ }
Implementations§
source§impl Rfc3164Builder
impl Rfc3164Builder
pub fn facility(self, facility: Facility) -> Self
pub fn hostname(self, hostname: Rfc3164Hostname) -> Self
pub fn hostname_as_string(self, hostname: String) -> Result<Self>
pub fn tag_as_string(self, tag: String) -> Result<Self>
pub fn escape_unicode(self, escape_unicode: bool) -> Self
pub fn build(self) -> Rfc3164
Auto Trait Implementations§
impl Freeze for Rfc3164Builder
impl RefUnwindSafe for Rfc3164Builder
impl Send for Rfc3164Builder
impl Sync for Rfc3164Builder
impl Unpin for Rfc3164Builder
impl UnwindSafe for Rfc3164Builder
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