Struct libssh_rs_sys::ssh_callbacks_struct
source · #[repr(C)]pub struct ssh_callbacks_struct {
pub size: usize,
pub userdata: *mut c_void,
pub auth_function: ssh_auth_callback,
pub log_function: ssh_log_callback,
pub connect_status_function: Option<unsafe extern "C" fn(userdata: *mut c_void, status: f32)>,
pub global_request_function: ssh_global_request_callback,
pub channel_open_request_x11_function: ssh_channel_open_request_x11_callback,
pub channel_open_request_auth_agent_function: ssh_channel_open_request_auth_agent_callback,
}
Fields§
§size: usize
§userdata: *mut c_void
§auth_function: ssh_auth_callback
§log_function: ssh_log_callback
§connect_status_function: Option<unsafe extern "C" fn(userdata: *mut c_void, status: f32)>
§global_request_function: ssh_global_request_callback
§channel_open_request_x11_function: ssh_channel_open_request_x11_callback
§channel_open_request_auth_agent_function: ssh_channel_open_request_auth_agent_callback
Trait Implementations§
source§impl Clone for ssh_callbacks_struct
impl Clone for ssh_callbacks_struct
source§fn clone(&self) -> ssh_callbacks_struct
fn clone(&self) -> ssh_callbacks_struct
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 ssh_callbacks_struct
impl Debug for ssh_callbacks_struct
impl Copy for ssh_callbacks_struct
Auto Trait Implementations§
impl RefUnwindSafe for ssh_callbacks_struct
impl !Send for ssh_callbacks_struct
impl !Sync for ssh_callbacks_struct
impl Unpin for ssh_callbacks_struct
impl UnwindSafe for ssh_callbacks_struct
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