pub type ssh_packet_callback = Option<unsafe extern "C" fn(session: ssh_session, type_: u8, packet: ssh_buffer, user: *mut c_void) -> c_int>;

Aliased Type§

enum ssh_packet_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut ssh_session_struct, _: u8, _: *mut ssh_buffer_struct, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ssh_session_struct, _: u8, _: *mut ssh_buffer_struct, _: *mut c_void) -> i32)

Some value of type T.