pub struct GatewayRouter { /* private fields */ }Implementations§
Source§impl GatewayRouter
impl GatewayRouter
pub fn new() -> Self
pub fn register_card(&mut self, hash: &str, content: Value)
pub fn dispatch(&self, request: &GatewayRequest) -> GatewayResponse
Trait Implementations§
Auto Trait Implementations§
impl Forget for GatewayRouter
impl Freeze for GatewayRouter
impl RefUnwindSafe for GatewayRouter
impl Send for GatewayRouter
impl Sync for GatewayRouter
impl Unpin for GatewayRouter
impl UnsafeUnpin 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