pub enum PubSubOp {
Subscribe(Vec<Vec<u8>>),
Unsubscribe(Option<Vec<Vec<u8>>>),
PSubscribe(Vec<Vec<u8>>),
PUnsubscribe(Option<Vec<Vec<u8>>>),
Publish {
channel: Vec<u8>,
message: Vec<u8>,
},
PubSubChannels {
pattern: Option<Vec<u8>>,
},
PubSubNumSub {
channels: Vec<Vec<u8>>,
},
PubSubNumPat,
}Variants§
Subscribe(Vec<Vec<u8>>)
Unsubscribe(Option<Vec<Vec<u8>>>)
PSubscribe(Vec<Vec<u8>>)
PUnsubscribe(Option<Vec<Vec<u8>>>)
Publish
PubSubChannels
PubSubNumSub
PubSubNumPat
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PubSubOp
impl RefUnwindSafe for PubSubOp
impl Send for PubSubOp
impl Sync for PubSubOp
impl Unpin for PubSubOp
impl UnsafeUnpin for PubSubOp
impl UnwindSafe for PubSubOp
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