pub struct GatewayRouter {
pub routers: Arc<[HttpRouter]>,
pub hostname_tree: Arc<HostnameTree<Vec<(usize, i16)>>>,
}Fields§
§routers: Arc<[HttpRouter]>§hostname_tree: Arc<HostnameTree<Vec<(usize, i16)>>>Trait Implementations§
Source§impl Clone for GatewayRouter
impl Clone for GatewayRouter
Source§fn clone(&self) -> GatewayRouter
fn clone(&self) -> GatewayRouter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GatewayRouter
impl Debug for GatewayRouter
Auto Trait Implementations§
impl Freeze for GatewayRouter
impl !RefUnwindSafe for GatewayRouter
impl Send for GatewayRouter
impl Sync for GatewayRouter
impl Unpin for GatewayRouter
impl !UnwindSafe for GatewayRouter
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