Enum netsblox_vm::runtime::OutgoingMessage
source · pub enum OutgoingMessage<C: CustomTypes<S>, S: System<C>> {
Normal {
msg_type: String,
values: Vec<(String, Json)>,
targets: Vec<String>,
},
Blocking {
msg_type: String,
values: Vec<(String, Json)>,
targets: Vec<String>,
reply_key: S::ExternReplyKey,
},
Reply {
value: Json,
reply_key: S::InternReplyKey,
},
}Variants§
Auto Trait Implementations§
impl<C, S> RefUnwindSafe for OutgoingMessage<C, S>where <S as System<C>>::ExternReplyKey: RefUnwindSafe, <S as System<C>>::InternReplyKey: RefUnwindSafe,
impl<C, S> Send for OutgoingMessage<C, S>where <S as System<C>>::ExternReplyKey: Send, <S as System<C>>::InternReplyKey: Send,
impl<C, S> Sync for OutgoingMessage<C, S>where <S as System<C>>::ExternReplyKey: Sync, <S as System<C>>::InternReplyKey: Sync,
impl<C, S> Unpin for OutgoingMessage<C, S>where <S as System<C>>::ExternReplyKey: Unpin, <S as System<C>>::InternReplyKey: Unpin,
impl<C, S> UnwindSafe for OutgoingMessage<C, S>where <S as System<C>>::ExternReplyKey: UnwindSafe, <S as System<C>>::InternReplyKey: UnwindSafe,
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