#[non_exhaustive]pub struct EtmChannel<const C: u8> {}Expand description
Unconfigured EtmChannel.
Implementations§
Source§impl<const C: u8> EtmChannel<C>
impl<const C: u8> EtmChannel<C>
Sourcepub fn setup<'a, E, T>(
self,
event: &'a E,
task: &'a T,
) -> EtmConfiguredChannel<'a, E, T, C>where
E: EtmEvent,
T: EtmTask,
pub fn setup<'a, E, T>(
self,
event: &'a E,
task: &'a T,
) -> EtmConfiguredChannel<'a, E, T, C>where
E: EtmEvent,
T: EtmTask,
Setup the channel
Enabled the channel and configures the assigned event and task.
Auto Trait Implementations§
impl<const C: u8> Freeze for EtmChannel<C>
impl<const C: u8> RefUnwindSafe for EtmChannel<C>
impl<const C: u8> Send for EtmChannel<C>
impl<const C: u8> Sync for EtmChannel<C>
impl<const C: u8> Unpin for EtmChannel<C>
impl<const C: u8> UnwindSafe for EtmChannel<C>
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