pub struct SyslogNet { /* private fields */ }Implementations§
Source§impl SyslogNet
impl SyslogNet
Sourcepub fn new_tcp<D: AsRef<str>>(dest_addr: impl Into<String>) -> Self
pub fn new_tcp<D: AsRef<str>>(dest_addr: impl Into<String>) -> Self
Creates a new TCP connection to syslog server.
§Arguments
dest_addr - a server’s address in form “ip:port”
Trait Implementations§
Source§impl SyslogDestination for SyslogNet
impl SyslogDestination for SyslogNet
fn init(self) -> SyRes<TapTypeData>
Auto Trait Implementations§
impl Freeze for SyslogNet
impl RefUnwindSafe for SyslogNet
impl Send for SyslogNet
impl Sync for SyslogNet
impl Unpin for SyslogNet
impl UnwindSafe for SyslogNet
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