pub struct HashTag {
pub open: u8,
pub close: u8,
}Expand description
Optional hash tag delimiters. When set, parsed keys carry the inner range between the delimiters as the routing tag.
Fields§
§open: u8Opening byte of the hash tag.
close: u8Closing byte of the hash tag.
Trait Implementations§
impl Copy for HashTag
impl Eq for HashTag
impl StructuralPartialEq for HashTag
Auto Trait Implementations§
impl Freeze for HashTag
impl RefUnwindSafe for HashTag
impl Send for HashTag
impl Sync for HashTag
impl Unpin for HashTag
impl UnsafeUnpin for HashTag
impl UnwindSafe for HashTag
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.