pub enum BusEventSource<ChannelId> {
Channel(usize, ChannelId),
Broadcast(usize),
Direct(usize),
External,
}Expand description
Represents the identifier of a channel.
Variants§
Trait Implementations§
Source§impl<ChannelId: Clone> Clone for BusEventSource<ChannelId>
impl<ChannelId: Clone> Clone for BusEventSource<ChannelId>
Source§fn clone(&self) -> BusEventSource<ChannelId>
fn clone(&self) -> BusEventSource<ChannelId>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<ChannelId: Debug> Debug for BusEventSource<ChannelId>
impl<ChannelId: Debug> Debug for BusEventSource<ChannelId>
Source§impl<ChannelId: PartialEq> PartialEq for BusEventSource<ChannelId>
impl<ChannelId: PartialEq> PartialEq for BusEventSource<ChannelId>
impl<ChannelId: Eq> Eq for BusEventSource<ChannelId>
impl<ChannelId> StructuralPartialEq for BusEventSource<ChannelId>
Auto Trait Implementations§
impl<ChannelId> Freeze for BusEventSource<ChannelId>where
ChannelId: Freeze,
impl<ChannelId> RefUnwindSafe for BusEventSource<ChannelId>where
ChannelId: RefUnwindSafe,
impl<ChannelId> Send for BusEventSource<ChannelId>where
ChannelId: Send,
impl<ChannelId> Sync for BusEventSource<ChannelId>where
ChannelId: Sync,
impl<ChannelId> Unpin for BusEventSource<ChannelId>where
ChannelId: Unpin,
impl<ChannelId> UnwindSafe for BusEventSource<ChannelId>where
ChannelId: UnwindSafe,
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