pub struct ApplicationServer<H> { /* private fields */ }Implementations§
Source§impl<H: ApplicationHandler> ApplicationServer<H>
impl<H: ApplicationHandler> ApplicationServer<H>
pub fn new(listener: UnixListener, handler: Arc<H>) -> Self
pub async fn run(self) -> Result<(), ApplicationError>
Auto Trait Implementations§
impl<H> !Freeze for ApplicationServer<H>
impl<H> RefUnwindSafe for ApplicationServer<H>where
H: RefUnwindSafe,
impl<H> Send for ApplicationServer<H>
impl<H> Sync for ApplicationServer<H>
impl<H> Unpin for ApplicationServer<H>
impl<H> UnsafeUnpin for ApplicationServer<H>
impl<H> UnwindSafe for ApplicationServer<H>where
H: RefUnwindSafe,
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