openthread_sys

Type Alias otTcpEstablished

Source
pub type otTcpEstablished = Option<unsafe extern "C" fn(aEndpoint: *mut otTcpEndpoint)>;
Expand description

This callback informs the application that the TCP 3-way handshake is complete and that the connection is now established.

@param[in] aEndpoint The TCP endpoint whose connection is now established.

Aliased Type§

enum otTcpEstablished {
    None,
    Some(unsafe extern "C" fn(_: *mut otTcpEndpoint)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut otTcpEndpoint))

Some value of type T.