pub struct HttpTestContext {
pub port: u16,
pub handlers: Arc<Mutex<Queue<HandlerCallback>>>,
/* private fields */
}
Fields§
§port: u16
§handlers: Arc<Mutex<Queue<HandlerCallback>>>
Implementations§
Trait Implementations§
Source§impl AsyncTestContext for HttpTestContext
impl AsyncTestContext for HttpTestContext
Auto Trait Implementations§
impl Freeze for HttpTestContext
impl !RefUnwindSafe for HttpTestContext
impl Send for HttpTestContext
impl Sync for HttpTestContext
impl Unpin for HttpTestContext
impl !UnwindSafe for HttpTestContext
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