pub enum AdoptMode {
Alias,
Tap,
}Expand description
Adoption mode for shared channels.
Variants§
Alias
Adopt the channel directly without rewiring.
Tap
Tap the channel with a weak reader and forward into a switchboard channel.
Trait Implementations§
impl Copy for AdoptMode
impl Eq for AdoptMode
impl StructuralPartialEq for AdoptMode
Auto Trait Implementations§
impl Freeze for AdoptMode
impl RefUnwindSafe for AdoptMode
impl Send for AdoptMode
impl Sync for AdoptMode
impl Unpin for AdoptMode
impl UnwindSafe for AdoptMode
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