[][src]Struct bus_queue::BarePublisher

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

Bare implementation of the publisher.

Methods

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

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

Publishes values to the circular buffer at wi % size

Arguments

  • object - owned object to be published

Trait Implementations

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

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

Drop trait is used to let subscribers know that publisher is no longer available.

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

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

This method tests for !=.

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

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

Auto Trait Implementations

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

impl<T> Unpin for BarePublisher<T>

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

impl<T> UnwindSafe for BarePublisher<T> where
    T: RefUnwindSafe

impl<T> RefUnwindSafe for BarePublisher<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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]