Struct usiem::components::dataset::ip_net::IpNetDataset
source · pub struct IpNetDataset { /* private fields */ }
Implementations
sourceimpl IpNetDataset
impl IpNetDataset
pub fn new() -> IpNetDataset
pub fn insert<S>(&mut self, ip: SiemIp, net: u8, data: S)where
S: Into<Cow<'static, str>>,
pub fn get(&self, ip: &SiemIp) -> Option<&Cow<'static, str>>
pub fn internal_ref(
&self
) -> (&BTreeMap<u32, BTreeMap<u32, Cow<'static, str>>>, &BTreeMap<u32, BTreeMap<u128, Cow<'static, str>>>)
Trait Implementations
sourceimpl Debug for IpNetDataset
impl Debug for IpNetDataset
sourceimpl Serialize for IpNetDataset
impl Serialize for IpNetDataset
Auto Trait Implementations
impl RefUnwindSafe for IpNetDataset
impl Send for IpNetDataset
impl Sync for IpNetDataset
impl Unpin for IpNetDataset
impl UnwindSafe for IpNetDataset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more