Skip to main content

EOS_P2P_OnRemoteConnectionClosedCallback

Type Alias EOS_P2P_OnRemoteConnectionClosedCallback 

Source
pub type EOS_P2P_OnRemoteConnectionClosedCallback = Option<unsafe extern "C" fn(Data: *const EOS_P2P_OnRemoteConnectionClosedInfo)>;
Expand description

Callback for information related to open connections being closed.

Aliased Type§

pub enum EOS_P2P_OnRemoteConnectionClosedCallback {
    None,
    Some(unsafe extern "C" fn(*const _tagEOS_P2P_OnRemoteConnectionClosedInfo)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const _tagEOS_P2P_OnRemoteConnectionClosedInfo))

Some value of type T.