pub struct ChannelKinds { /* private fields */ }Implementations§
Source§impl ChannelKinds
impl ChannelKinds
pub fn new() -> Self
pub fn add_channel<C: Channel>(&mut self, settings: ChannelSettings)
pub fn channels(&self) -> Vec<(ChannelKind, ChannelSettings)>
pub fn channel(&self, kind: &ChannelKind) -> ChannelSettings
Auto Trait Implementations§
impl Freeze for ChannelKinds
impl RefUnwindSafe for ChannelKinds
impl Send for ChannelKinds
impl Sync for ChannelKinds
impl Unpin for ChannelKinds
impl UnwindSafe for ChannelKinds
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