[][src]Struct freertos_rs::patterns::processor::ProcessorClient

pub struct ProcessorClient<I, C> where
    I: ReplyableMessage + Copy
{ /* fields omitted */ }

Methods

impl<I, O> ProcessorClient<I, O> where
    I: ReplyableMessage + Copy
[src]

pub fn send<D: DurationTicks>(
    &self,
    message: I,
    max_wait: D
) -> Result<(), FreeRtosError>
[src]

pub fn send_from_isr(
    &self,
    context: &mut InterruptContext,
    message: I
) -> Result<(), FreeRtosError>
[src]

impl<I> ProcessorClient<InputMessage<I>, ()> where
    I: Copy
[src]

pub fn send_val<D: DurationTicks>(
    &self,
    val: I,
    max_wait: D
) -> Result<(), FreeRtosError>
[src]

pub fn send_val_from_isr(
    &self,
    context: &mut InterruptContext,
    val: I
) -> Result<(), FreeRtosError>
[src]

impl<I, O> ProcessorClient<I, SharedClientWithReplyQueue<O>> where
    I: ReplyableMessage + Copy,
    O: Copy
[src]

pub fn call<D: DurationTicks>(
    &self,
    message: I,
    max_wait: D
) -> Result<O, FreeRtosError>
[src]

pub fn get_receive_queue(&self) -> &Queue<O>[src]

impl<I, O> ProcessorClient<InputMessage<I>, SharedClientWithReplyQueue<O>> where
    I: Copy,
    O: Copy
[src]

pub fn send_val<D: DurationTicks>(
    &self,
    val: I,
    max_wait: D
) -> Result<(), FreeRtosError>
[src]

pub fn call_val<D: DurationTicks>(
    &self,
    val: I,
    max_wait: D
) -> Result<O, FreeRtosError>
[src]

Trait Implementations

impl<I, C> Clone for ProcessorClient<I, C> where
    I: ReplyableMessage + Copy,
    C: Clone
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<I, C> Send for ProcessorClient<I, C> where
    C: Send

impl<I, C> Sync for ProcessorClient<I, C> where
    C: Sync

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.