pub struct ConnectionChannels<F> {
pub queues: PushQueues<F>,
pub handle: PushHandle<F>,
}Expand description
Bundles push queues with their shared handle for actor construction.
Fields§
§queues: PushQueues<F>Receivers for high- and low-priority frames consumed by the actor.
handle: PushHandle<F>Handle cloned by producers to enqueue frames into the shared queues.
Implementations§
Source§impl<F> ConnectionChannels<F>
impl<F> ConnectionChannels<F>
Sourcepub fn new(queues: PushQueues<F>, handle: PushHandle<F>) -> Self
pub fn new(queues: PushQueues<F>, handle: PushHandle<F>) -> Self
Create a new bundle of push queues and their associated handle.
Auto Trait Implementations§
impl<F> Freeze for ConnectionChannels<F>
impl<F> !RefUnwindSafe for ConnectionChannels<F>
impl<F> Send for ConnectionChannels<F>where
F: Send,
impl<F> Sync for ConnectionChannels<F>where
F: Send,
impl<F> Unpin for ConnectionChannels<F>
impl<F> UnsafeUnpin for ConnectionChannels<F>
impl<F> !UnwindSafe for ConnectionChannels<F>
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