robotrt-buffer-core 0.1.0-beta.2

RobotRT modular robotics runtime and middleware components.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use core_types::BufferId;

pub trait ReclaimPolicy {
    fn release(&mut self, buffer_id: BufferId);
}

#[derive(Default)]
pub struct NoopReclaimer;

impl ReclaimPolicy for NoopReclaimer {
    fn release(&mut self, _buffer_id: BufferId) {}
}