pub struct CloseAllResult {
pub closed_count: usize,
pub failed_connections: Vec<(ConnectionId, WebSocketError)>,
}
Expand description
Result of closing all connections
Fields§
§closed_count: usize
§failed_connections: Vec<(ConnectionId, WebSocketError)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CloseAllResult
impl !RefUnwindSafe for CloseAllResult
impl Send for CloseAllResult
impl Sync for CloseAllResult
impl Unpin for CloseAllResult
impl !UnwindSafe for CloseAllResult
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