pub struct BootstrapHandoffResult {
pub transport_id: TransportId,
pub local_addr: SocketAddr,
pub remote_addr: SocketAddr,
pub peer_node_addr: NodeAddr,
pub session_id: String,
}Expand description
Result of handing an established traversal session into FIPS.
Fields§
§transport_id: TransportIdNewly allocated transport ID used for the adopted UDP socket.
local_addr: SocketAddrLocal socket address now owned by the FIPS UDP transport.
remote_addr: SocketAddrConfirmed remote UDP endpoint selected by traversal.
peer_node_addr: NodeAddrPeer node address derived from the supplied peer identity.
session_id: StringNostr session identifier used by the bootstrap runtime.
Trait Implementations§
Source§impl Clone for BootstrapHandoffResult
impl Clone for BootstrapHandoffResult
Source§fn clone(&self) -> BootstrapHandoffResult
fn clone(&self) -> BootstrapHandoffResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BootstrapHandoffResult
impl RefUnwindSafe for BootstrapHandoffResult
impl Send for BootstrapHandoffResult
impl Sync for BootstrapHandoffResult
impl Unpin for BootstrapHandoffResult
impl UnsafeUnpin for BootstrapHandoffResult
impl UnwindSafe for BootstrapHandoffResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more