pub struct Ipcc;
Expand description
IPCC driver.
Implementations§
Source§impl Ipcc
impl Ipcc
Sourcepub async fn send(channel: IpccChannel, f: impl FnOnce())
pub async fn send(channel: IpccChannel, f: impl FnOnce())
Send data to an IPCC channel. The closure is called to write the data when appropriate.
Sourcepub async fn flush(channel: IpccChannel)
pub async fn flush(channel: IpccChannel)
Wait for the tx channel to become clear
Sourcepub async fn receive<R>(channel: IpccChannel, f: impl FnMut() -> Option<R>) -> R
pub async fn receive<R>(channel: IpccChannel, f: impl FnMut() -> Option<R>) -> R
Receive data from an IPCC channel. The closure is called to read the data when appropriate.
Auto Trait Implementations§
impl Freeze for Ipcc
impl RefUnwindSafe for Ipcc
impl Send for Ipcc
impl Sync for Ipcc
impl Unpin for Ipcc
impl UnwindSafe for Ipcc
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