agde_io

Struct PlatformExt

source
pub struct PlatformExt<P: Platform>(pub P);

Tuple Fields§

§0: P

Implementations§

source§

impl<P: Platform> PlatformExt<P>

source

pub async fn send(&self, msg: &Message) -> Result<(), ApplicationError>

source

pub fn sender(&self) -> &Mutex<P::Sender>

source

pub fn receiver(&self) -> &Mutex<P::Receiver>

Trait Implementations§

source§

impl<P: