pub struct FakeInterrupt {
pub acks: usize,
}Expand description
In-memory fake interrupt backend for deterministic tests.
Fields§
§acks: usizeImplementations§
Source§impl FakeInterrupt
impl FakeInterrupt
Trait Implementations§
Source§impl Clone for FakeInterrupt
impl Clone for FakeInterrupt
Source§impl Debug for FakeInterrupt
impl Debug for FakeInterrupt
Source§impl Default for FakeInterrupt
impl Default for FakeInterrupt
Source§impl InterruptBackend for FakeInterrupt
impl InterruptBackend for FakeInterrupt
Source§fn acknowledge(&mut self) -> Result<(), BackendError>
fn acknowledge(&mut self) -> Result<(), BackendError>
Acknowledges the interrupt on every path (Spec 17 step 6).
Auto Trait Implementations§
impl Freeze for FakeInterrupt
impl RefUnwindSafe for FakeInterrupt
impl Send for FakeInterrupt
impl Sync for FakeInterrupt
impl Unpin for FakeInterrupt
impl UnsafeUnpin for FakeInterrupt
impl UnwindSafe for FakeInterrupt
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