[][src]Enum cmim::Context

pub enum Context<I> {
    Exception(Exception),
    Interrupt(I),
}

Context is the place where data will be moved to. This can be either interrupt context, or exception context

Variants

Exception(Exception)

An Exception, such as SysTick. Re-exported from the cortex-m crate

Interrupt(I)

A device specific interrupt, as defined by a -pac crate

Trait Implementations

impl<I: Nr> PartialEq<VectActive> for Context<I>[src]

Auto Trait Implementations

impl<I> Send for Context<I> where
    I: Send

impl<I> Sync for Context<I> where
    I: Sync

impl<I> Unpin for Context<I> where
    I: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.