/// Creates a new message info instance.
Creates a new message info instance.
Creates a new message info instance .
pub fn new(local: SockAddr, remote: SockAddr) -> Info {
        Info(otMessageInfo {
            mSockAddr: local.addr().into_ot(),
            mPeerAddr: remote.addr().into_ot(),
            mSockPort: local.port(),
            mPeerPort: remote.port(),
            ..otMessageInfo::default()
        })
    }
pub fn new ( local : SockAddr , remote : SockAddr ) -> Info { Info ( otMessageInfo { mSockAddr : local . addr ( ) . into_ot ( ) , mPeerAddr : remote . addr ( ) . into_ot ( ) , mSockPort : local . port ( ) , mPeerPort : remote . port ( ) , .. otMessageInfo :: default ( ) } ) }
Creates a new message info instance.
Creates a new message info instance .
local
SockAddr
remote
SockAddr