pub struct SubscribePattern(/* private fields */);Expand description
Normalized subscription pattern matching the existing /listen/* grammar.
V1 supports exact matches plus a trailing * prefix wildcard. Regex or glob
metacharacters elsewhere are treated as literal bytes and may simply match no
worlds.
Implementations§
Trait Implementations§
Source§impl Clone for SubscribePattern
impl Clone for SubscribePattern
Source§fn clone(&self) -> SubscribePattern
fn clone(&self) -> SubscribePattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscribePattern
impl Debug for SubscribePattern
impl Eq for SubscribePattern
Source§impl PartialEq for SubscribePattern
impl PartialEq for SubscribePattern
Source§fn eq(&self, other: &SubscribePattern) -> bool
fn eq(&self, other: &SubscribePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscribePattern
Auto Trait Implementations§
impl Freeze for SubscribePattern
impl RefUnwindSafe for SubscribePattern
impl Send for SubscribePattern
impl Sync for SubscribePattern
impl Unpin for SubscribePattern
impl UnsafeUnpin for SubscribePattern
impl UnwindSafe for SubscribePattern
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