pub struct HttpOriginServer { /* private fields */ }Implementations§
Source§impl HttpOriginServer
impl HttpOriginServer
pub async fn start() -> Self
pub async fn start_with_body(body: &[u8]) -> Self
pub fn addr(&self) -> SocketAddr
pub fn request_count(&self) -> &AtomicU64
Trait Implementations§
Source§impl Drop for HttpOriginServer
impl Drop for HttpOriginServer
Auto Trait Implementations§
impl Freeze for HttpOriginServer
impl RefUnwindSafe for HttpOriginServer
impl Send for HttpOriginServer
impl Sync for HttpOriginServer
impl Unpin for HttpOriginServer
impl UnsafeUnpin for HttpOriginServer
impl UnwindSafe for HttpOriginServer
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