#[repr(C)]pub struct utp_callback_arguments {
pub context: *mut utp_context,
pub socket: *mut utp_socket,
pub len: size_t,
pub flags: uint32,
pub callback_type: c_int,
pub buf: *const byte,
pub args1: utp_callback_args1,
pub args2: utp_callback_args2,
}Fields§
§context: *mut utp_context§socket: *mut utp_socket§len: size_t§flags: uint32§callback_type: c_int§buf: *const byte§args1: utp_callback_args1§args2: utp_callback_args2Trait Implementations§
Source§impl Clone for utp_callback_arguments
impl Clone for utp_callback_arguments
Source§fn clone(&self) -> utp_callback_arguments
fn clone(&self) -> utp_callback_arguments
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for utp_callback_arguments
Auto Trait Implementations§
impl Freeze for utp_callback_arguments
impl RefUnwindSafe for utp_callback_arguments
impl !Send for utp_callback_arguments
impl !Sync for utp_callback_arguments
impl Unpin for utp_callback_arguments
impl UnwindSafe for utp_callback_arguments
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