pub enum TunnelTopic {
Drop,
Private(TunnelName),
Public(TunnelName),
}Expand description
Indicates how a services is allowed to be routed to
Variants§
Drop
All messages should be dropped
Private(TunnelName)
Only other services can route to a private channel
Public(TunnelName)
Anything can route to a public channel
Trait Implementations§
Source§impl Clone for TunnelTopic
impl Clone for TunnelTopic
Source§fn clone(&self) -> TunnelTopic
fn clone(&self) -> TunnelTopic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TunnelTopic
impl Debug for TunnelTopic
Source§impl<'de> Deserialize<'de> for TunnelTopic
impl<'de> Deserialize<'de> for TunnelTopic
Source§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
Source§impl Display for TunnelTopic
impl Display for TunnelTopic
Source§impl From<&str> for TunnelTopic
impl From<&str> for TunnelTopic
Source§fn from(val: &str) -> TunnelTopic
fn from(val: &str) -> TunnelTopic
Converts to this type from the input type.
Source§impl PartialEq for TunnelTopic
impl PartialEq for TunnelTopic
Source§impl Serialize for TunnelTopic
impl Serialize for TunnelTopic
impl Copy for TunnelTopic
impl Eq for TunnelTopic
impl StructuralPartialEq for TunnelTopic
Auto Trait Implementations§
impl Freeze for TunnelTopic
impl RefUnwindSafe for TunnelTopic
impl Send for TunnelTopic
impl Sync for TunnelTopic
impl Unpin for TunnelTopic
impl UnwindSafe for TunnelTopic
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