[−][src]Struct freertos_rs::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]
Performs copy-assignment from source
. Read more
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,
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.