pub enum OutgoingMessage {
Normal {
msg_type: CompactString,
values: VecMap<CompactString, Json, false>,
targets: Vec<CompactString>,
},
Blocking {
msg_type: CompactString,
values: VecMap<CompactString, Json, false>,
targets: Vec<CompactString>,
reply_key: ExternReplyKey,
},
Reply {
value: Json,
reply_key: InternReplyKey,
},
}
Variants§
Normal
Fields
§
msg_type: CompactString
§
values: VecMap<CompactString, Json, false>
§
targets: Vec<CompactString>
Blocking
Fields
§
msg_type: CompactString
§
values: VecMap<CompactString, Json, false>
§
targets: Vec<CompactString>
§
reply_key: ExternReplyKey
Reply
Auto Trait Implementations§
impl Freeze for OutgoingMessage
impl RefUnwindSafe for OutgoingMessage
impl Send for OutgoingMessage
impl Sync for OutgoingMessage
impl Unpin for OutgoingMessage
impl UnwindSafe for OutgoingMessage
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