Struct torrust_index_backend::web::api::Running
source · pub struct Running {
pub socket_addr: SocketAddr,
pub api_server: Option<JoinHandle<Result<(), Error>>>,
}
Expand description
The running API server.
Fields§
§socket_addr: SocketAddr
The socket address the API server is listening on.
api_server: Option<JoinHandle<Result<(), Error>>>
The handle for the running API server.
Auto Trait Implementations§
impl RefUnwindSafe for Running
impl Send for Running
impl Sync for Running
impl Unpin for Running
impl UnwindSafe for Running
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