pub struct SyslogTlsInput { /* private fields */ }Implementations§
Source§impl SyslogTlsInput
impl SyslogTlsInput
pub fn new(host: &str, name: &str) -> SyslogTlsInput
Trait Implementations§
Source§impl Clone for SyslogTlsInput
impl Clone for SyslogTlsInput
Source§fn clone(&self) -> SyslogTlsInput
fn clone(&self) -> SyslogTlsInput
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 SiemComponent for SyslogTlsInput
impl SiemComponent for SyslogTlsInput
fn name(&self) -> &'static str
Source§fn set_log_channel(
&mut self,
sender: Sender<SiemLog>,
receiver: Receiver<SiemLog>,
)
fn set_log_channel( &mut self, sender: Sender<SiemLog>, receiver: Receiver<SiemLog>, )
Sets the channel used to receive/send logs. It’s the kernel who sets the channel
Source§fn local_channel(&self) -> Sender<SiemMessage>
fn local_channel(&self) -> Sender<SiemMessage>
Get the channel to this component
Source§fn capabilities(&self) -> SiemComponentCapabilities
fn capabilities(&self) -> SiemComponentCapabilities
Capabilities and actions that can be performed by this component
Source§fn run(&mut self) -> Result<(), SiemError>
fn run(&mut self) -> Result<(), SiemError>
Execute the logic of this component in an infinite loop. Must be stopped using Commands sent using the channel.
Source§fn duplicate(&self) -> Box<dyn SiemComponent>
fn duplicate(&self) -> Box<dyn SiemComponent>
Allows the Kernel to duplicate this component
Source§fn set_datasets(&mut self, datasets: DatasetHolder)
fn set_datasets(&mut self, datasets: DatasetHolder)
Initialize the component with the datasets before executing run
Source§fn set_storage(&mut self, storage: Box<dyn SiemComponentStateStorage>)
fn set_storage(&mut self, storage: Box<dyn SiemComponentStateStorage>)
Allow to store information about this component like the state or configurations.
Auto Trait Implementations§
impl Freeze for SyslogTlsInput
impl !RefUnwindSafe for SyslogTlsInput
impl Send for SyslogTlsInput
impl !Sync for SyslogTlsInput
impl Unpin for SyslogTlsInput
impl !UnwindSafe for SyslogTlsInput
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