pub struct RsiHandle {
pub on_event: BTreeMap<usize, Handler>,
}
Fields§
§on_event: BTreeMap<usize, Handler>
Implementations§
source§impl RsiHandle
impl RsiHandle
pub const RET_SUCCESS: usize = 0usize
pub const RET_FAIL: usize = 1usize
pub const NOT_SUPPORTED: usize = 18_446_744_073_709_551_615usize
pub fn new() -> Self
pub fn dispatch( &self, ctx: &mut Context, monitor: &Monitor, rec: &mut Rec<'_>, run: &mut Run ) -> usize
pub fn add_event_handler(&mut self, code: usize, handler: Handler)
Trait Implementations§
Auto Trait Implementations§
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