pub struct ServerSubsystem { /* private fields */ }Expand description
Server subsystem that supports WebSocket and HTTP protocols
Implementations§
Source§impl ServerSubsystem
impl ServerSubsystem
pub fn new( config: ServerConfig, engine: StandardEngine, scheduler: SchedulerService, ) -> Self
Trait Implementations§
Source§impl HasVersion for ServerSubsystem
impl HasVersion for ServerSubsystem
Source§fn version(&self) -> SystemVersion
fn version(&self) -> SystemVersion
Returns the version information for this component
Source§impl Subsystem for ServerSubsystem
impl Subsystem for ServerSubsystem
Source§fn is_running(&self) -> bool
fn is_running(&self) -> bool
Check if the subsystem is currently running
Source§fn health_status(&self) -> HealthStatus
fn health_status(&self) -> HealthStatus
Get the current health status of the subsystem Read more
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Get a mutable reference to self as Any for downcasting
Auto Trait Implementations§
impl Freeze for ServerSubsystem
impl !RefUnwindSafe for ServerSubsystem
impl Send for ServerSubsystem
impl Sync for ServerSubsystem
impl Unpin for ServerSubsystem
impl !UnwindSafe for ServerSubsystem
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