pub struct ConnectionCallback<S: AppState> {
pub on_connect: OnConnectCallback<S>,
pub on_reconnect: ReconnectCallbackStack<S>,
}Fields§
§on_connect: OnConnectCallback<S>§on_reconnect: ReconnectCallbackStack<S>Auto Trait Implementations§
impl<S> Freeze for ConnectionCallback<S>
impl<S> !RefUnwindSafe for ConnectionCallback<S>
impl<S> Send for ConnectionCallback<S>
impl<S> Sync for ConnectionCallback<S>
impl<S> Unpin for ConnectionCallback<S>
impl<S> UnsafeUnpin for ConnectionCallback<S>
impl<S> !UnwindSafe for ConnectionCallback<S>
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