[−][src]Enum safe_nd::HandshakeResponse
Handshake responses sent from vaults to clients.
Variants
Rebootstrap(Vec<(XorName, SocketAddr)>)
Sent by nodes when a client should attempt to connect to the section that's closest to its destination (section managing the client's account).
Join(Vec<(XorName, SocketAddr)>)
Sent by nodes when a client reaches its destination section.
Sent by nodes as a response to a valid HandshakeRequest::Join
.
Sent by nodes as a response to an invalid HandshakeRequest::Join
(when a client attempts to join a wrong section).
Trait Implementations
impl<'de> Deserialize<'de> for HandshakeResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for HandshakeResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for HandshakeResponse
impl Send for HandshakeResponse
impl Sync for HandshakeResponse
impl Unpin for HandshakeResponse
impl UnwindSafe for HandshakeResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,