pub enum Interrupts {
Disabled,
Enabled,
}Expand description
Interrupt configuration.
If interrupts are enabled, you’re responsible for registering the ISR associated with the peripheral. See the crate-level documentation to understand how this affects each logging backend.
Variants§
Trait Implementations§
Source§impl Clone for Interrupts
impl Clone for Interrupts
Source§fn clone(&self) -> Interrupts
fn clone(&self) -> Interrupts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Interrupts
impl Debug for Interrupts
Source§impl PartialEq for Interrupts
impl PartialEq for Interrupts
impl Copy for Interrupts
impl Eq for Interrupts
impl StructuralPartialEq for Interrupts
Auto Trait Implementations§
impl Freeze for Interrupts
impl RefUnwindSafe for Interrupts
impl Send for Interrupts
impl Sync for Interrupts
impl Unpin for Interrupts
impl UnwindSafe for Interrupts
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