[][src]Struct melib::gpgme::bindings::gpgme_data_cbs

#[repr(C)]pub struct gpgme_data_cbs {
    pub read: Option<unsafe extern "C" fn(handle: *mut c_void, buffer: *mut c_void, size: usize) -> isize>,
    pub write: Option<unsafe extern "C" fn(handle: *mut c_void, buffer: *const c_void, size: usize) -> isize>,
    pub seek: Option<unsafe extern "C" fn(handle: *mut c_void, offset: off_t, whence: c_int) -> off_t>,
    pub release: Option<unsafe extern "C" fn(handle: *mut c_void)>,
}

Fields

read: Option<unsafe extern "C" fn(handle: *mut c_void, buffer: *mut c_void, size: usize) -> isize>write: Option<unsafe extern "C" fn(handle: *mut c_void, buffer: *const c_void, size: usize) -> isize>seek: Option<unsafe extern "C" fn(handle: *mut c_void, offset: off_t, whence: c_int) -> off_t>release: Option<unsafe extern "C" fn(handle: *mut c_void)>

Trait Implementations

impl Clone for gpgme_data_cbs[src]

impl Copy for gpgme_data_cbs[src]

impl Debug for gpgme_data_cbs[src]

Auto Trait Implementations

impl RefUnwindSafe for gpgme_data_cbs

impl Send for gpgme_data_cbs

impl Sync for gpgme_data_cbs

impl Unpin for gpgme_data_cbs

impl UnwindSafe for gpgme_data_cbs

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> Instrument 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]