[][src]Struct buffer_trigger::buffer_trigger_async::General

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

General BufferTrigger

Set your own container to store in the current service

Implementations

impl<E, C, P> General<E, C, P> where
    P: Debug + Sync + Send,
    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]

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

start clock trigger listener

Trait Implementations

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

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

Auto Trait Implementations

impl<E, C, P> !RefUnwindSafe for General<E, C, P>

impl<E, C, P> Send for General<E, C, P>

impl<E, C, P> Sync for General<E, C, P>

impl<E, C, P> Unpin for General<E, C, P> where
    P: Unpin

impl<E, C, P> !UnwindSafe for General<E, C, P>

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.