pub struct Task<'d>(/* private fields */);Expand description
Represents a task that a peripheral can do.
When a task is subscribed to a PPI channel, it will run when the channel is triggered by a published event.
Implementations§
Trait Implementations§
impl<'d> Copy for Task<'d>
impl<'d> Eq for Task<'d>
impl Send for Task<'_>
§Safety
NonNull is not send, but this event is only allowed to point at registers and those exist in any context on the same core.
impl<'d> StructuralPartialEq for Task<'d>
Auto Trait Implementations§
impl<'d> !Sync for Task<'d>
impl<'d> Freeze for Task<'d>
impl<'d> RefUnwindSafe for Task<'d>
impl<'d> Unpin for Task<'d>
impl<'d> UnsafeUnpin for Task<'d>
impl<'d> UnwindSafe for Task<'d>
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