pub enum BusControl<Owner, ChannelId, MSG> {
Channel(Owner, BusChannelControl<ChannelId, MSG>),
Broadcast(bool, MSG),
}
Variants§
Channel(Owner, BusChannelControl<ChannelId, MSG>)
Broadcast(bool, MSG)
Implementations§
Source§impl<Owner, ChannelId, MSG> BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> BusControl<Owner, ChannelId, MSG>
pub fn high_priority(&self) -> bool
pub fn convert_into<NOwner: From<Owner>, NChannelId: From<ChannelId>, NMSG: From<MSG>>( self, ) -> BusControl<Owner, NChannelId, NMSG>
Trait Implementations§
Auto Trait Implementations§
impl<Owner, ChannelId, MSG> Freeze for BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> RefUnwindSafe for BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> Send for BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> Sync for BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> Unpin for BusControl<Owner, ChannelId, MSG>
impl<Owner, ChannelId, MSG> UnwindSafe for BusControl<Owner, ChannelId, MSG>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more