[][src]Trait rebpf::maps::Update

pub trait Update: Map {
    fn update<'a>(
        &'a mut self,
        key: &Self::Key,
        value: &Self::Value,
        flags: BpfUpdateElemFlags
    ) -> Result<()>; }

Required methods

fn update<'a>(
    &'a mut self,
    key: &Self::Key,
    value: &Self::Value,
    flags: BpfUpdateElemFlags
) -> Result<()>

Update a value inside the map.

This operation is considered as atomic.

Loading content...

Implementors

impl Update for CpuMap[src]

impl<T> Update for rebpf::bpf::maps::Array<T>[src]

impl<T> Update for PerCpuArray<T>[src]

impl<T> Update for rebpf::userspace::maps::Array<T>[src]

Loading content...