pub struct BpfHistogram<T> { /* private fields */ }Implementations§
Source§impl<T> BpfHistogram<T>
impl<T> BpfHistogram<T>
pub const fn with_max_entries(max_entries: u32, flags: u32) -> BpfHistogram<T>
pub fn observe(&self, sub_key: T, value: u64)
Auto Trait Implementations§
impl<T> !Freeze for BpfHistogram<T>
impl<T> !RefUnwindSafe for BpfHistogram<T>
impl<T> Send for BpfHistogram<T>where
T: Send,
impl<T> Sync for BpfHistogram<T>
impl<T> Unpin for BpfHistogram<T>where
T: Unpin,
impl<T> UnsafeUnpin for BpfHistogram<T>
impl<T> UnwindSafe for BpfHistogram<T>where
T: UnwindSafe,
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