pub struct WebsocketApplication { /* private fields */ }
Implementations§
Source§impl WebsocketApplication
impl WebsocketApplication
Trait Implementations§
Source§impl Default for WebsocketApplication
impl Default for WebsocketApplication
Source§fn default() -> WebsocketApplication
fn default() -> WebsocketApplication
Returns the “default value” for a type. Read more
Source§impl NgynPlatform for WebsocketApplication
impl NgynPlatform for WebsocketApplication
fn data_mut(&mut self) -> &mut PlatformData
Auto Trait Implementations§
impl !Freeze for WebsocketApplication
impl !RefUnwindSafe for WebsocketApplication
impl Send for WebsocketApplication
impl Sync for WebsocketApplication
impl Unpin for WebsocketApplication
impl !UnwindSafe for WebsocketApplication
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
Source§impl<T> NgynEngine for Twhere
T: NgynPlatform,
impl<T> NgynEngine for Twhere
T: NgynPlatform,
fn any(&mut self, path: &str, handler: impl Into<RouteHandler>)
Source§fn group(&mut self, base_path: &str, registry: impl Fn(&mut GroupRouter<'_>))
fn group(&mut self, base_path: &str, registry: impl Fn(&mut GroupRouter<'_>))
Groups related routes
Source§fn use_middleware(&mut self, middleware: impl NgynMiddleware + 'static)
fn use_middleware(&mut self, middleware: impl NgynMiddleware + 'static)
Adds a middleware to the application. Read more