pub enum PubSubPath<'a> {
Long(ManagedString<'a, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>, B1>>),
Short(u16),
}Expand description
Publish/Subscribe Path - Short or Long
Variants§
Long(ManagedString<'a, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>, B1>>)
A long form, UTF-8 Path
Short(u16)
A short form, ‘memoized’ path
Pre-registered with the server
Trait Implementations§
Source§impl<'a> Clone for PubSubPath<'a>
impl<'a> Clone for PubSubPath<'a>
Source§fn clone(&self) -> PubSubPath<'a>
fn clone(&self) -> PubSubPath<'a>
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<'a> Debug for PubSubPath<'a>
impl<'a> Debug for PubSubPath<'a>
Source§impl<'de, 'a> Deserialize<'de> for PubSubPath<'a>where
'de: 'a,
impl<'de, 'a> Deserialize<'de> for PubSubPath<'a>where
'de: 'a,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PubSubPath<'a>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PubSubPath<'a>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> PartialEq for PubSubPath<'a>
impl<'a> PartialEq for PubSubPath<'a>
Source§impl<'a> Serialize for PubSubPath<'a>
impl<'a> Serialize for PubSubPath<'a>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'a> Eq for PubSubPath<'a>
impl<'a> StructuralPartialEq for PubSubPath<'a>
Auto Trait Implementations§
impl<'a> Freeze for PubSubPath<'a>
impl<'a> RefUnwindSafe for PubSubPath<'a>
impl<'a> Send for PubSubPath<'a>
impl<'a> Sync for PubSubPath<'a>
impl<'a> Unpin for PubSubPath<'a>
impl<'a> UnwindSafe for PubSubPath<'a>
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