Skip to main content

EOS_P2P_OnPeerConnectionEstablishedCallback

Type Alias EOS_P2P_OnPeerConnectionEstablishedCallback 

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

Callback for information related to new connections being established

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.