pub struct UtpSocketHandle<S> { /* private fields */ }Methods from Deref<Target = UtpSocket<S>>§
pub unsafe fn utp_write(&self, buf: &mut [u8]) -> usize
pub unsafe fn utp_read_drained(&self)
pub unsafe fn set_socket_data(&self, data: S)
pub unsafe fn get_socket_data(&self) -> &S
pub unsafe fn get_socket_data_mut(&mut self) -> &mut S
Trait Implementations§
Source§impl<S> DerefMut for UtpSocketHandle<S>
impl<S> DerefMut for UtpSocketHandle<S>
Source§impl<S> Drop for UtpSocketHandle<S>
impl<S> Drop for UtpSocketHandle<S>
Auto Trait Implementations§
impl<S> Freeze for UtpSocketHandle<S>
impl<S> RefUnwindSafe for UtpSocketHandle<S>where
S: RefUnwindSafe,
impl<S> !Send for UtpSocketHandle<S>
impl<S> !Sync for UtpSocketHandle<S>
impl<S> Unpin for UtpSocketHandle<S>where
S: Unpin,
impl<S> UnwindSafe for UtpSocketHandle<S>where
S: 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