pub struct LocalRouter;Expand description
Default router — always serves locally.
Used for single-instance deployments where no routing is needed.
Trait Implementations§
Source§impl Router for LocalRouter
impl Router for LocalRouter
fn route(&self, _ns: &NamespaceId) -> Result<Route, RoutingError>
Auto Trait Implementations§
impl Freeze for LocalRouter
impl RefUnwindSafe for LocalRouter
impl Send for LocalRouter
impl Sync for LocalRouter
impl Unpin for LocalRouter
impl UnsafeUnpin for LocalRouter
impl UnwindSafe for LocalRouter
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