Struct messagebus::Untyped[][src]

pub struct Untyped { /* fields omitted */ }

Implementations

impl Untyped[src]

pub fn new_readonly<T: Send + Sync + 'static>(item: T) -> Self[src]

pub fn new_rwlock<T: Send + Sync + 'static>(item: T) -> Self[src]

pub fn new_mutex<T: Send + 'static>(item: T) -> Self[src]

pub fn new_local<T: 'static, F: FnOnce() -> T + Send + 'static>(f: F) -> Self[src]

pub fn downcast_sync<T: Send + Sync + 'static>(self) -> Option<Downcasted<T>>[src]

pub fn downcast_send1<T: Send + 'static>(self) -> Option<Downcasted<T>>[src]

pub fn downcast_send<T: Send + 'static>(self) -> Option<Arc<Mutex<T>>>[src]

pub fn downcast_local<T: 'static>(self) -> Option<Arc<ThreadDedicated<T>>>[src]

Trait Implementations

impl Clone for Untyped[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.