Struct rsfbclient_core::ibase::blobcallback
source · #[repr(C)]pub struct blobcallback {
pub blob_get_segment: Option<unsafe extern "C" fn(hnd: *mut c_void, buffer: *mut ISC_UCHAR, buf_size: ISC_USHORT, result_len: *mut ISC_USHORT) -> c_short>,
pub blob_handle: *mut c_void,
pub blob_number_segments: ISC_LONG,
pub blob_max_segment: ISC_LONG,
pub blob_total_length: ISC_LONG,
pub blob_put_segment: Option<unsafe extern "C" fn(hnd: *mut c_void, buffer: *const ISC_UCHAR, buf_size: ISC_USHORT)>,
pub blob_lseek: Option<unsafe extern "C" fn(hnd: *mut c_void, mode: ISC_USHORT, offset: ISC_LONG) -> ISC_LONG>,
}
Fields§
§blob_get_segment: Option<unsafe extern "C" fn(hnd: *mut c_void, buffer: *mut ISC_UCHAR, buf_size: ISC_USHORT, result_len: *mut ISC_USHORT) -> c_short>
§blob_handle: *mut c_void
§blob_number_segments: ISC_LONG
§blob_max_segment: ISC_LONG
§blob_total_length: ISC_LONG
§blob_put_segment: Option<unsafe extern "C" fn(hnd: *mut c_void, buffer: *const ISC_UCHAR, buf_size: ISC_USHORT)>
§blob_lseek: Option<unsafe extern "C" fn(hnd: *mut c_void, mode: ISC_USHORT, offset: ISC_LONG) -> ISC_LONG>
Trait Implementations§
source§impl Clone for blobcallback
impl Clone for blobcallback
source§fn clone(&self) -> blobcallback
fn clone(&self) -> blobcallback
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 moresource§impl Debug for blobcallback
impl Debug for blobcallback
impl Copy for blobcallback
Auto Trait Implementations§
impl Freeze for blobcallback
impl RefUnwindSafe for blobcallback
impl !Send for blobcallback
impl !Sync for blobcallback
impl Unpin for blobcallback
impl UnwindSafe for blobcallback
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)