[][src]Struct bus_queue::sync::Publisher

pub struct Publisher<T: Send> { /* fields omitted */ }

Provides an interface for the publisher

Methods

impl<T: Send> Publisher<T>[src]

pub fn broadcast(&mut self, object: T) -> Result<(), SendError<T>>[src]

Publishes values to the circular buffer at wi % size

Arguments

  • object - owned object to be published

pub fn wake_all(&self)[src]

Trait Implementations

impl<T: Send> GetSubCount for Publisher<T>[src]

impl<T: Send> PartialEq<Publisher<T>> for Publisher<T>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: Send> Drop for Publisher<T>[src]

impl<T: Send> Eq for Publisher<T>[src]

impl<T: Debug + Send> Debug for Publisher<T>[src]

Auto Trait Implementations

impl<T> Unpin for Publisher<T>

impl<T> Sync for Publisher<T> where
    T: Sync

impl<T> Send for Publisher<T> where
    T: Sync

impl<T> !UnwindSafe for Publisher<T>

impl<T> !RefUnwindSafe for Publisher<T>

Blanket Implementations

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.

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]