RpcSessionClosedCallback

Type Alias RpcSessionClosedCallback 

Source
pub type RpcSessionClosedCallback = Option<unsafe extern "C" fn(context: *mut c_void)>;
Expand description

Callback to notify transport layer that close_session command is received. Any other actions lays on transport layer. No destruction or session close performed.

Aliased Type§

pub enum RpcSessionClosedCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.