[][src]Struct buffer_trigger::AsyncBufferTrigger

pub struct AsyncBufferTrigger<E, C> where
    E: Debug + Sync + Send,
    C: Debug + Sync + Send
{ /* fields omitted */ }

Simple BufferTrigger

Set your own container to store in the current service

Implementations

impl<E, C> AsyncBufferTrigger<E, C> where
    E: Debug + Sync + Send,
    C: Debug + Sync + Send
[src]

pub async fn len<'_>(&'_ self) -> usize[src]

pub async fn push<'_>(&'_ self, value: E)[src]

pub async fn trigger<'_>(&'_ self)[src]

pub async fn is_empty<'_>(&'_ self) -> bool[src]

impl<E, C> AsyncBufferTrigger<E, C> where
    E: Debug + Sync + Send,
    C: Debug + Sync + Send
[src]

pub async fn listen_clock_trigger<'_>(&'_ self)[src]

start clock trigger listener

Trait Implementations

impl<E, C> Debug for AsyncBufferTrigger<E, C> where
    E: Debug + Sync + Send,
    C: Debug + Sync + Send
[src]

impl<E, C> Drop for AsyncBufferTrigger<E, C> where
    E: Debug + Sync + Send,
    C: Debug + Sync + Send
[src]

Auto Trait Implementations

impl<E, C> !RefUnwindSafe for AsyncBufferTrigger<E, C>

impl<E, C> Send for AsyncBufferTrigger<E, C>

impl<E, C> Sync for AsyncBufferTrigger<E, C>

impl<E, C> Unpin for AsyncBufferTrigger<E, C> where
    C: Unpin

impl<E, C> !UnwindSafe for AsyncBufferTrigger<E, C>

Blanket Implementations

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

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

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

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

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

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> 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.