[−][src]Struct redbpf::HashMap
Implementations
impl<'base, K: Clone, V: Clone> HashMap<'base, K, V>
[src]
pub fn new<'a>(base: &'a Map) -> Result<HashMap<'a, K, V>>
[src]
pub fn set(&self, key: K, value: V)
[src]
pub fn get(&self, key: K) -> Option<V>
[src]
pub fn delete(&self, key: K)
[src]
pub fn iter<'a>(&'a self) -> MapIter<'a, '_, K, V>ⓘ
[src]
Auto Trait Implementations
impl<'a, K, V> RefUnwindSafe for HashMap<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for HashMap<'a, K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<'a, K, V> Sync for HashMap<'a, K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'a, K, V> Unpin for HashMap<'a, K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<'a, K, V> UnwindSafe for HashMap<'a, K, V> where
K: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
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,
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.
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>,