pub enum ParentOrConnection {
Parent(Arc<dyn ChannelOwner>),
Connection(Arc<dyn ConnectionLike>),
}Expand description
Parent can be either another ChannelOwner or the root Connection
Variants§
Parent(Arc<dyn ChannelOwner>)
Connection(Arc<dyn ConnectionLike>)
Auto Trait Implementations§
impl Freeze for ParentOrConnection
impl !RefUnwindSafe for ParentOrConnection
impl Send for ParentOrConnection
impl Sync for ParentOrConnection
impl Unpin for ParentOrConnection
impl !UnwindSafe for ParentOrConnection
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