#[repr(C)]
pub struct ssh_server_callbacks_struct { pub size: usize, pub userdata: *mut c_void, pub auth_password_function: ssh_auth_password_callback, pub auth_none_function: ssh_auth_none_callback, pub auth_gssapi_mic_function: ssh_auth_gssapi_mic_callback, pub auth_pubkey_function: ssh_auth_pubkey_callback, pub service_request_function: ssh_service_request_callback, pub channel_open_request_session_function: ssh_channel_open_request_session_callback, pub gssapi_select_oid_function: ssh_gssapi_select_oid_callback, pub gssapi_accept_sec_ctx_function: ssh_gssapi_accept_sec_ctx_callback, pub gssapi_verify_mic_function: ssh_gssapi_verify_mic_callback, }

Fields§

§size: usize§userdata: *mut c_void§auth_password_function: ssh_auth_password_callback§auth_none_function: ssh_auth_none_callback§auth_gssapi_mic_function: ssh_auth_gssapi_mic_callback§auth_pubkey_function: ssh_auth_pubkey_callback§service_request_function: ssh_service_request_callback§channel_open_request_session_function: ssh_channel_open_request_session_callback§gssapi_select_oid_function: ssh_gssapi_select_oid_callback§gssapi_accept_sec_ctx_function: ssh_gssapi_accept_sec_ctx_callback§gssapi_verify_mic_function: ssh_gssapi_verify_mic_callback

Trait Implementations§

source§

impl Clone for ssh_server_callbacks_struct

source§

fn clone(&self) -> ssh_server_callbacks_struct

Returns a copy 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 Debug for ssh_server_callbacks_struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ssh_server_callbacks_struct

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.