#[repr(C)]pub struct lc_socket_call_s {
pub sock: *mut lc_socket_t,
pub callback_msg: Option<unsafe extern "C" fn(arg1: *mut lc_message_t)>,
pub callback_err: Option<unsafe extern "C" fn(arg1: c_int)>,
}Fields§
§sock: *mut lc_socket_t§callback_msg: Option<unsafe extern "C" fn(arg1: *mut lc_message_t)>§callback_err: Option<unsafe extern "C" fn(arg1: c_int)>Trait Implementations§
Source§impl Clone for lc_socket_call_s
impl Clone for lc_socket_call_s
Source§fn clone(&self) -> lc_socket_call_s
fn clone(&self) -> lc_socket_call_s
Returns a duplicate 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 moreSource§impl Debug for lc_socket_call_s
impl Debug for lc_socket_call_s
impl Copy for lc_socket_call_s
Auto Trait Implementations§
impl Freeze for lc_socket_call_s
impl RefUnwindSafe for lc_socket_call_s
impl !Send for lc_socket_call_s
impl !Sync for lc_socket_call_s
impl Unpin for lc_socket_call_s
impl UnwindSafe for lc_socket_call_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