pub struct HttpsServer { /* private fields */ }Expand description
HTTPS 服务
Implementations§
Source§impl HttpsServer
impl HttpsServer
Sourcepub async fn serve(self) -> HttpsResult<()>
pub async fn serve(self) -> HttpsResult<()>
启动 HTTPS 服务
Auto Trait Implementations§
impl Freeze for HttpsServer
impl !RefUnwindSafe for HttpsServer
impl Send for HttpsServer
impl Sync for HttpsServer
impl Unpin for HttpsServer
impl UnsafeUnpin for HttpsServer
impl !UnwindSafe for HttpsServer
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