Skip to main content

EOS_P2P_OnPeerConnectionInterruptedCallback

Type Alias EOS_P2P_OnPeerConnectionInterruptedCallback 

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

Callback for information related to open connections that are interrupted.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.