[][src]Type Definition rxrust::subject::LocalSubject

type LocalSubject<'a, Item, Err> = Subject<LocalObserver<Box<dyn Publisher<Item, Err> + 'a>>, LocalSubscription>;

Methods

impl<'a, Item, Err> LocalSubject<'a, Item, Err>[src]

pub fn local() -> Self[src]

Trait Implementations

impl<'a, Item, Err> IntoShared for LocalSubject<'a, Item, Err> where
    Item: 'static,
    Err: 'static, 
[src]

type Shared = Subject<Arc<Mutex<Vec<Box<dyn Publisher<Item, Err> + Send + Sync>>>>, SharedSubscription>

impl<'a, Item, Err, O, U> RawSubscribable<Subscriber<O, U>> for LocalSubject<'a, Item, Err> where
    O: Observer<Item, Err> + 'a,
    U: SubscriptionLike + Clone + 'static, 
[src]

type Unsub = U

A type implementing SubscriptionLike