pub struct EmbeddedService { /* private fields */ }Implementations§
Source§impl EmbeddedService
impl EmbeddedService
pub fn start(config: ServiceConfig) -> ServiceResult<Self>
pub fn url(&self) -> String
pub fn port(&self) -> u16
pub fn is_running(&mut self) -> bool
pub fn stop(&mut self) -> ServiceResult<()>
pub fn solver_service(&self) -> HttpSolverService
Trait Implementations§
Source§impl Drop for EmbeddedService
impl Drop for EmbeddedService
Auto Trait Implementations§
impl Freeze for EmbeddedService
impl RefUnwindSafe for EmbeddedService
impl Send for EmbeddedService
impl Sync for EmbeddedService
impl Unpin for EmbeddedService
impl UnsafeUnpin for EmbeddedService
impl UnwindSafe for EmbeddedService
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