pub enum BridgeOp {
Subscribe {
topic: String,
id: Option<String>,
},
Unsubscribe {
topic: String,
id: Option<String>,
},
Publish {
topic: String,
data: String,
},
}Expand description
Bridge-Operation aus dem JSON-Frame.
Variants§
Trait Implementations§
impl Eq for BridgeOp
impl StructuralPartialEq for BridgeOp
Auto Trait Implementations§
impl Freeze for BridgeOp
impl RefUnwindSafe for BridgeOp
impl Send for BridgeOp
impl Sync for BridgeOp
impl Unpin for BridgeOp
impl UnsafeUnpin for BridgeOp
impl UnwindSafe for BridgeOp
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