Enum sn_messaging::location::SrcLocation [−][src]
Expand description
Message source location.
Variants
EndUser(EndUser)
An EndUser.
Node(XorName)
A single node with the given name.
Section(XorName)
A section close to a name.
Implementations
Returns whether this location is a section.
Returns whether the given name is part of this location
Returns this location as DstLocation
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SrcLocation
impl Send for SrcLocation
impl Sync for SrcLocation
impl Unpin for SrcLocation
impl UnwindSafe for SrcLocation
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V