Enum sn_messaging::section_info::GetSectionResponse [−][src]
pub enum GetSectionResponse { Success(SectionInfo), Redirect(Vec<SocketAddr>), SectionInfoUpdate(Error), }
Information about a section.
Variants
Success(SectionInfo)
Successful response to GetSectionQuery
. Contains information about the requested
section.
Redirect(Vec<SocketAddr>)
Response to GetSectionQuery
containing addresses of nodes that are closer to the
requested name than the recipient. The request should be repeated to these addresses.
SectionInfoUpdate(Error)
Request could not be fulfilled due to section constellation updates
Trait Implementations
impl<'de> Deserialize<'de> for GetSectionResponse
[src]
impl<'de> Deserialize<'de> for GetSectionResponse
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<GetSectionResponse> for GetSectionResponse
[src]
impl PartialEq<GetSectionResponse> for GetSectionResponse
[src]fn eq(&self, other: &GetSectionResponse) -> bool
[src]
fn ne(&self, other: &GetSectionResponse) -> bool
[src]
impl Serialize for GetSectionResponse
[src]
impl Serialize for GetSectionResponse
[src]Auto Trait Implementations
impl RefUnwindSafe for GetSectionResponse
impl RefUnwindSafe for GetSectionResponse
impl Send for GetSectionResponse
impl Send for GetSectionResponse
impl Sync for GetSectionResponse
impl Sync for GetSectionResponse
impl Unpin for GetSectionResponse
impl Unpin for GetSectionResponse
impl UnwindSafe for GetSectionResponse
impl UnwindSafe for GetSectionResponse
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,