#[non_exhaustive]pub struct EtmChannel<const C: u8> {}
Available on crate feature
unstable
only.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.