Struct NetFromServerEvent
pub struct NetFromServerEvent<'a> {
pub channel: &'a str,
pub data: &'a [u8],
}Expand description
What Hooks::net_from_server is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§channel: &'a str§data: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for NetFromServerEvent<'a>
impl<'a> RefUnwindSafe for NetFromServerEvent<'a>
impl<'a> Send for NetFromServerEvent<'a>
impl<'a> Sync for NetFromServerEvent<'a>
impl<'a> Unpin for NetFromServerEvent<'a>
impl<'a> UnsafeUnpin for NetFromServerEvent<'a>
impl<'a> UnwindSafe for NetFromServerEvent<'a>
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