_SMBCCTX

Struct _SMBCCTX 

Source
#[repr(C)]
pub struct _SMBCCTX {
Show 39 fields pub debug: c_int, pub netbios_name: *mut c_char, pub workgroup: *mut c_char, pub user: *mut c_char, pub timeout: c_int, pub open: smbc_open_fn, pub creat: smbc_creat_fn, pub read: smbc_read_fn, pub write: smbc_write_fn, pub unlink: smbc_unlink_fn, pub rename: smbc_rename_fn, pub lseek: smbc_lseek_fn, pub stat: smbc_stat_fn, pub fstat: smbc_fstat_fn, pub close_fn: smbc_close_fn, pub opendir: smbc_opendir_fn, pub closedir: smbc_closedir_fn, pub readdir: smbc_readdir_fn, pub getdents: smbc_getdents_fn, pub mkdir: smbc_mkdir_fn, pub rmdir: smbc_rmdir_fn, pub telldir: smbc_telldir_fn, pub lseekdir: smbc_lseekdir_fn, pub fstatdir: smbc_fstatdir_fn, pub chmod: smbc_chmod_fn, pub utimes: smbc_utimes_fn, pub setxattr: smbc_setxattr_fn, pub getxattr: smbc_getxattr_fn, pub removexattr: smbc_removexattr_fn, pub listxattr: smbc_listxattr_fn, pub print_file: smbc_print_file_fn, pub open_print_job: smbc_open_print_job_fn, pub list_print_jobs: smbc_list_print_jobs_fn, pub unlink_print_job: smbc_unlink_print_job_fn, pub callbacks: _smbc_callbacks, pub reserved: *mut c_void, pub flags: c_int, pub options: _smbc_options, pub internal: *mut SMBC_internal_data,
}

Fields§

§debug: c_int§netbios_name: *mut c_char§workgroup: *mut c_char§user: *mut c_char§timeout: c_int§open: smbc_open_fn§creat: smbc_creat_fn§read: smbc_read_fn§write: smbc_write_fn§unlink: smbc_unlink_fn§rename: smbc_rename_fn§lseek: smbc_lseek_fn§stat: smbc_stat_fn§fstat: smbc_fstat_fn§close_fn: smbc_close_fn§opendir: smbc_opendir_fn§closedir: smbc_closedir_fn§readdir: smbc_readdir_fn§getdents: smbc_getdents_fn§mkdir: smbc_mkdir_fn§rmdir: smbc_rmdir_fn§telldir: smbc_telldir_fn§lseekdir: smbc_lseekdir_fn§fstatdir: smbc_fstatdir_fn§chmod: smbc_chmod_fn§utimes: smbc_utimes_fn§setxattr: smbc_setxattr_fn§getxattr: smbc_getxattr_fn§removexattr: smbc_removexattr_fn§listxattr: smbc_listxattr_fn§print_file: smbc_print_file_fn§open_print_job: smbc_open_print_job_fn§list_print_jobs: smbc_list_print_jobs_fn§unlink_print_job: smbc_unlink_print_job_fn§callbacks: _smbc_callbacks§reserved: *mut c_void§flags: c_int§options: _smbc_options§internal: *mut SMBC_internal_data

Trait Implementations§

Source§

impl Clone for _SMBCCTX

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for _SMBCCTX

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for _SMBCCTX

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.