[][src]Trait probe_rs::architecture::arm::swo::SwoPublisher

pub trait SwoPublisher {
    fn start<I: Serialize + Send + Sync + 'static, O: Deserialize<'static> + Send + Sync + 'static>(
        &mut self
    ) -> UpdaterChannel<I, O>;
fn stop(&mut self) -> Result<(), ()>; }

Required methods

fn start<I: Serialize + Send + Sync + 'static, O: Deserialize<'static> + Send + Sync + 'static>(
    &mut self
) -> UpdaterChannel<I, O>

Starts the SwoPublisher. This should never block and run the Updater asynchronously.

fn stop(&mut self) -> Result<(), ()>

Stops the SwoPublisher if currently running. Returns Ok if everything went smooth during the run of the SwoPublisher. Returns Err if something went wrong during the run of the SwoPublisher.

Loading content...

Implementors

Loading content...