pub struct Router {
pub capacity: usize,
}
Expand description
Used to respond to arbitrary track requests.
Fields§
§capacity: usize
The maximum number of requests that can be queued before blocking.
Implementations§
Source§impl Router
impl Router
pub fn produce(&self) -> (RouterProducer, RouterConsumer)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Router
impl RefUnwindSafe for Router
impl Send for Router
impl Sync for Router
impl Unpin for Router
impl UnwindSafe for Router
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