pub struct ContextOperations {
pub preempt_enter: fn() -> usize,
pub preempt_exit: unsafe fn(usize),
pub preempt_exit_irq_return: unsafe fn(usize),
pub irq_save_and_disable: fn() -> usize,
pub irq_restore: unsafe fn(usize),
pub hardirq_enter: fn(),
pub hardirq_exit: fn(),
}Expand description
Runtime callbacks used by the external synchronization provider.
Fields§
§preempt_enter: fn() -> usize§preempt_exit: unsafe fn(usize)§preempt_exit_irq_return: unsafe fn(usize)§irq_save_and_disable: fn() -> usize§irq_restore: unsafe fn(usize)§hardirq_enter: fn()§hardirq_exit: fn()Trait Implementations§
Source§impl Clone for ContextOperations
impl Clone for ContextOperations
Source§fn clone(&self) -> ContextOperations
fn clone(&self) -> ContextOperations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContextOperations
Auto Trait Implementations§
impl Freeze for ContextOperations
impl RefUnwindSafe for ContextOperations
impl Send for ContextOperations
impl Sync for ContextOperations
impl Unpin for ContextOperations
impl UnsafeUnpin for ContextOperations
impl UnwindSafe for ContextOperations
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