pub struct WsServerHandle { /* private fields */ }Implementations§
Source§impl WsServerHandle
impl WsServerHandle
pub fn listen_url(&self) -> &str
pub fn connect_url(&self) -> &str
pub fn mode(&self) -> WsStartMode
pub fn reused_existing(&self) -> bool
pub fn started_new_process(&self) -> bool
pub fn owns_process(&self) -> bool
pub fn log_path(&self) -> Option<&Path>
pub fn connect_config(&self, options: ClientOptions) -> WsConfig
pub fn shutdown(&mut self) -> Result<(), ClientError>
Trait Implementations§
Source§impl Debug for WsServerHandle
impl Debug for WsServerHandle
Auto Trait Implementations§
impl Freeze for WsServerHandle
impl RefUnwindSafe for WsServerHandle
impl Send for WsServerHandle
impl Sync for WsServerHandle
impl Unpin for WsServerHandle
impl UnsafeUnpin for WsServerHandle
impl UnwindSafe for WsServerHandle
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