pub enum InterruptTriggerMode {
EdgeTriggered,
LevelTriggered,
}Expand description
Interrupt trigger mode.
Represents the trigger mode of an interrupt in a platform-neutral way. Every architecture adapter must explicitly define where this metadata is consumed, even when its vCPU backend does not distinguish the modes.
Variants§
Trait Implementations§
Source§impl Clone for InterruptTriggerMode
impl Clone for InterruptTriggerMode
Source§fn clone(&self) -> InterruptTriggerMode
fn clone(&self) -> InterruptTriggerMode
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 InterruptTriggerMode
Source§impl Debug for InterruptTriggerMode
impl Debug for InterruptTriggerMode
impl Eq for InterruptTriggerMode
Source§impl PartialEq for InterruptTriggerMode
impl PartialEq for InterruptTriggerMode
impl StructuralPartialEq for InterruptTriggerMode
Auto Trait Implementations§
impl Freeze for InterruptTriggerMode
impl RefUnwindSafe for InterruptTriggerMode
impl Send for InterruptTriggerMode
impl Sync for InterruptTriggerMode
impl Unpin for InterruptTriggerMode
impl UnsafeUnpin for InterruptTriggerMode
impl UnwindSafe for InterruptTriggerMode
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