pub struct PeerCreateParameters {
pub id: PeerId,
pub addr: SocketAddr,
pub normalized_addr: NormalizedAddress,
pub nts: Option<Box<PeerNtsData>>,
}Fields§
§id: PeerId§addr: SocketAddr§normalized_addr: NormalizedAddress§nts: Option<Box<PeerNtsData>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeerCreateParameters
impl !RefUnwindSafe for PeerCreateParameters
impl Send for PeerCreateParameters
impl Sync for PeerCreateParameters
impl Unpin for PeerCreateParameters
impl !UnwindSafe for PeerCreateParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more