pub struct AsyncServer<T: ActionMsg> { /* private fields */ }Expand description
An action server which works on async/await context.
AsyncServer<T> does the same job as Server<T> but on async/await context.
Consult examples/action_server.rs for example usage.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for AsyncServer<T>
impl<T> !RefUnwindSafe for AsyncServer<T>
impl<T> Send for AsyncServer<T>
impl<T> Sync for AsyncServer<T>
impl<T> Unpin for AsyncServer<T>
impl<T> !UnwindSafe for AsyncServer<T>
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