Struct socketioxide::socket::AckResponse
source · pub struct AckResponse<T> {
pub data: T,
pub binary: Vec<Vec<u8>>,
}
Expand description
An acknowledgement sent by the client. It contains the data sent by the client and the binary payloads if there are any.
Fields§
§data: T
The data returned by the client
binary: Vec<Vec<u8>>
Optional binary payloads
If there is no binary payload, the Vec
will be empty
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for AckResponse<T>where
T: RefUnwindSafe,
impl<T> Send for AckResponse<T>where
T: Send,
impl<T> Sync for AckResponse<T>where
T: Sync,
impl<T> Unpin for AckResponse<T>where
T: Unpin,
impl<T> UnwindSafe for AckResponse<T>where
T: UnwindSafe,
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