pub struct MemoryRouter { /* private fields */ }Expand description
In-memory router for testing.
Implementations§
Trait Implementations§
Source§impl Debug for MemoryRouter
impl Debug for MemoryRouter
Source§impl Default for MemoryRouter
impl Default for MemoryRouter
Source§impl Router for MemoryRouter
impl Router for MemoryRouter
Navigate to a route.
Source§fn current_route(&self) -> String
fn current_route(&self) -> String
Get the current route.
Auto Trait Implementations§
impl !Freeze for MemoryRouter
impl RefUnwindSafe for MemoryRouter
impl Send for MemoryRouter
impl Sync for MemoryRouter
impl Unpin for MemoryRouter
impl UnwindSafe for MemoryRouter
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