Struct crust::PrivConnectionInfo [−][src]
pub struct PrivConnectionInfo<UID> { /* fields omitted */ }
Contact info generated by a call to Service::prepare_contact_info
.
Methods
impl<UID: Uid> PrivConnectionInfo<UID>
[src]
impl<UID: Uid> PrivConnectionInfo<UID>
pub fn to_pub_connection_info(&self) -> PubConnectionInfo<UID>
[src]
pub fn to_pub_connection_info(&self) -> PubConnectionInfo<UID>
Use private connection info to create public connection info that can be shared with the peer.
Trait Implementations
impl<UID: Debug> Debug for PrivConnectionInfo<UID>
[src]
impl<UID: Debug> Debug for PrivConnectionInfo<UID>
Auto Trait Implementations
impl<UID> Send for PrivConnectionInfo<UID> where
UID: Send,
impl<UID> Send for PrivConnectionInfo<UID> where
UID: Send,
impl<UID> !Sync for PrivConnectionInfo<UID>
impl<UID> !Sync for PrivConnectionInfo<UID>