pub async fn serve(
socket: AdminSocket,
admin: Admin,
shutdown: impl Future<Output = ()>,
)Expand description
Answer admin commands until shutdown resolves, then remove the socket
(by dropping it).
pub async fn serve(
socket: AdminSocket,
admin: Admin,
shutdown: impl Future<Output = ()>,
)Answer admin commands until shutdown resolves, then remove the socket
(by dropping it).