Struct usiem::events::firewall::FirewallEvent [−][src]
Fields
source_ip: SiemIp
Ip that started the connection
destination_ip: SiemIp
IP that received the connection
source_port: u16
Source port -> source.port
destination_port: u16
Destination port -> destintion.port
network_protocol: NetworkProtocol
Protocol used for the connection.
outcome: FirewallOutcome
What happened to the connection
in_bytes: u32
Bytes received. Equals destination.bytes
out_bytes: u32
Bytes sended. Equals source.bytes
in_interface: Cow<'static, str>
Input interface for the connection
out_interface: Cow<'static, str>
Output interface for the connection
Implementations
impl FirewallEvent
[src]
pub fn source_ip(&self) -> &SiemIp
[src]
pub fn destination_ip(&self) -> &SiemIp
[src]
pub fn network_protocol(&self) -> &NetworkProtocol
[src]
pub fn outcome(&self) -> &FirewallOutcome
[src]
pub fn in_interface(&self) -> &str
[src]
pub fn out_interface(&self) -> &str
[src]
Trait Implementations
impl Debug for FirewallEvent
[src]
impl Serialize for FirewallEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for FirewallEvent
[src]
impl Send for FirewallEvent
[src]
impl Sync for FirewallEvent
[src]
impl Unpin for FirewallEvent
[src]
impl UnwindSafe for FirewallEvent
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,