[−][src]Struct freertos_rust::patterns::processor::ProcessorClient
Methods
impl<I, O> ProcessorClient<I, O> where
I: ReplyableMessage + Copy, [src]
I: ReplyableMessage + Copy,
pub fn send<D: DurationTicks>(
&self,
message: I,
max_wait: D
) -> Result<(), FreeRtosError>[src]
&self,
message: I,
max_wait: D
) -> Result<(), FreeRtosError>
pub fn send_from_isr(
&self,
context: &mut InterruptContext,
message: I
) -> Result<(), FreeRtosError>[src]
&self,
context: &mut InterruptContext,
message: I
) -> Result<(), FreeRtosError>
impl<I> ProcessorClient<InputMessage<I>, ()> where
I: Copy, [src]
I: Copy,
pub fn send_val<D: DurationTicks>(
&self,
val: I,
max_wait: D
) -> Result<(), FreeRtosError>[src]
&self,
val: I,
max_wait: D
) -> Result<(), FreeRtosError>
pub fn send_val_from_isr(
&self,
context: &mut InterruptContext,
val: I
) -> Result<(), FreeRtosError>[src]
&self,
context: &mut InterruptContext,
val: I
) -> Result<(), FreeRtosError>
impl<I, O> ProcessorClient<I, SharedClientWithReplyQueue<O>> where
I: ReplyableMessage + Copy,
O: Copy, [src]
I: ReplyableMessage + Copy,
O: Copy,
pub fn call<D: DurationTicks>(
&self,
message: I,
max_wait: D
) -> Result<O, FreeRtosError>[src]
&self,
message: I,
max_wait: D
) -> Result<O, FreeRtosError>
pub fn get_receive_queue(&self) -> &Queue<O>[src]
impl<I, O> ProcessorClient<InputMessage<I>, SharedClientWithReplyQueue<O>> where
I: Copy,
O: Copy, [src]
I: Copy,
O: Copy,
pub fn send_val<D: DurationTicks>(
&self,
val: I,
max_wait: D
) -> Result<(), FreeRtosError>[src]
&self,
val: I,
max_wait: D
) -> Result<(), FreeRtosError>
pub fn call_val<D: DurationTicks>(
&self,
val: I,
max_wait: D
) -> Result<O, FreeRtosError>[src]
&self,
val: I,
max_wait: D
) -> Result<O, FreeRtosError>
Trait Implementations
impl<I, C> Clone for ProcessorClient<I, C> where
I: ReplyableMessage + Copy,
C: Clone, [src]
I: ReplyableMessage + Copy,
C: Clone,
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl<I, C> Send for ProcessorClient<I, C> where
C: Send,
C: Send,
impl<I, C> Sync for ProcessorClient<I, C> where
C: Sync,
C: Sync,
impl<I, C> Unpin for ProcessorClient<I, C> where
C: Unpin,
C: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,