#[repr(C)]pub struct SPDConnection {
pub callback_begin: SPDCallback,
pub callback_end: SPDCallback,
pub callback_cancel: SPDCallback,
pub callback_pause: SPDCallback,
pub callback_resume: SPDCallback,
pub callback_im: SPDCallbackIM,
pub socket: c_int,
pub stream: *mut FILE,
pub mode: Type,
pub ssip_mutex: pthread_mutex_t,
pub td: *mut SPDConnection_threaddata,
pub reply: *mut c_char,
}
Fields§
§callback_begin: SPDCallback
§callback_end: SPDCallback
§callback_cancel: SPDCallback
§callback_pause: SPDCallback
§callback_resume: SPDCallback
§callback_im: SPDCallbackIM
§socket: c_int
§stream: *mut FILE
§mode: Type
§ssip_mutex: pthread_mutex_t
§td: *mut SPDConnection_threaddata
§reply: *mut c_char
Trait Implementations§
Source§impl Clone for SPDConnection
impl Clone for SPDConnection
Source§fn clone(&self) -> SPDConnection
fn clone(&self) -> SPDConnection
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 SPDConnection
Auto Trait Implementations§
impl Freeze for SPDConnection
impl RefUnwindSafe for SPDConnection
impl !Send for SPDConnection
impl !Sync for SPDConnection
impl Unpin for SPDConnection
impl UnwindSafe for SPDConnection
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