[−][src]Struct lifeline::dyn_bus::DynBusStorage
Implementations
impl<B: Bus> DynBusStorage<B>
[src]
pub fn link_channel<Msg, Bus>(&self) where
Msg: Message<B> + 'static,
[src]
Msg: Message<B> + 'static,
pub fn clone_rx<Msg, Bus>(
&self
) -> Result<<Msg::Channel as Channel>::Rx, TakeChannelError> where
Msg: Message<B> + 'static,
[src]
&self
) -> Result<<Msg::Channel as Channel>::Rx, TakeChannelError> where
Msg: Message<B> + 'static,
pub fn clone_tx<Msg, Bus>(
&self
) -> Result<<Msg::Channel as Channel>::Tx, TakeChannelError> where
Msg: Message<B> + 'static,
[src]
&self
) -> Result<<Msg::Channel as Channel>::Tx, TakeChannelError> where
Msg: Message<B> + 'static,
pub fn clone_resource<Res>(&self) -> Result<Res, TakeResourceError> where
Res: Resource<B> + 'static,
[src]
Res: Resource<B> + 'static,
pub fn store_resource<Res: Send + 'static, Bus>(&self, value: Res)
[src]
pub fn store_channel<Msg, Chan, Bus>(
&self,
rx: Option<Chan::Rx>,
tx: Option<Chan::Tx>
) -> Result<(), AlreadyLinkedError> where
Chan: Channel,
Msg: 'static,
[src]
&self,
rx: Option<Chan::Rx>,
tx: Option<Chan::Tx>
) -> Result<(), AlreadyLinkedError> where
Chan: Channel,
Msg: 'static,
pub fn capacity<Msg>(&self, capacity: usize) -> Result<(), AlreadyLinkedError> where
Msg: Message<B> + 'static,
[src]
Msg: Message<B> + 'static,
Trait Implementations
impl<B: Debug> Debug for DynBusStorage<B>
[src]
impl<B: Bus> Default for DynBusStorage<B>
[src]
Auto Trait Implementations
impl<B> RefUnwindSafe for DynBusStorage<B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<B> Send for DynBusStorage<B> where
B: Send,
B: Send,
impl<B> !Sync for DynBusStorage<B>
impl<B> Unpin for DynBusStorage<B> where
B: Unpin,
B: Unpin,
impl<B> UnwindSafe for DynBusStorage<B> where
B: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<From, To> Traitcast<To> for From where
From: TraitcastFrom + ?Sized,
To: 'static + ?Sized,
[src]
From: TraitcastFrom + ?Sized,
To: 'static + ?Sized,
fn cast_ref(&self) -> Option<&To>
[src]
Tries to cast self to a different dynamic trait object. This will
always return None if the implementation of the target trait, for the
concrete type of self, has not been registered via
traitcast!
.
fn cast_mut(&mut self) -> Option<&mut To>
[src]
Tries to cast the self to a different dynamic trait object. This will
always return None if the implementation of the target trait, for the
concrete type of self, has not been registered via
traitcast!
.
fn cast_box(self: Box<From>) -> Result<Box<To>, Box<dyn Any + 'static>>
[src]
Tries to cast self to a boxed dynamic trait object. This will always
return Err if the implementation of the target trait, for the concrete
type of self, has not been registered via traitcast!
.
impl<T> TraitcastFrom for T where
T: 'static,
T: 'static,
fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_box(self: Box<T>) -> Box<dyn Any + 'static>
fn type_id(&self) -> TypeId
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,