[][src]Struct libobliv_sys::ProtocolTransport

#[repr(C)]
pub struct ProtocolTransport {
    pub maxParties: c_int,
    pub split: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport) -> *mut ProtocolTransport>,
    pub send: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport, arg2: c_int, arg3: *const c_void, arg4: usize) -> c_int>,
    pub recv: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport, arg2: c_int, arg3: *mut c_void, arg4: usize) -> c_int>,
    pub flush: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport) -> c_int>,
    pub cleanup: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport)>,
}

Fields

maxParties: c_intsplit: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport) -> *mut ProtocolTransport>send: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport, arg2: c_int, arg3: *const c_void, arg4: usize) -> c_int>recv: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport, arg2: c_int, arg3: *mut c_void, arg4: usize) -> c_int>flush: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport) -> c_int>cleanup: Option<unsafe extern "C" fn(arg1: *mut ProtocolTransport)>

Trait Implementations

impl Clone for ProtocolTransport[src]

impl Copy for ProtocolTransport[src]

impl Debug for ProtocolTransport[src]

Auto Trait Implementations

impl RefUnwindSafe for ProtocolTransport

impl Send for ProtocolTransport

impl Sync for ProtocolTransport

impl Unpin for ProtocolTransport

impl UnwindSafe for ProtocolTransport

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.