Enum objtalk::json_rpc::EventMessage
source · pub enum EventMessage {
QueryAdd {
query_id: Uuid,
object: Object,
},
QueryChange {
query_id: Uuid,
object: Object,
},
QueryRemove {
query_id: Uuid,
object: Object,
},
QueryEvent {
query_id: Uuid,
object: String,
event: String,
data: Value,
},
QueryInvocation {
invocation_id: Uuid,
query_id: Uuid,
object: String,
method: String,
args: Value,
},
InvocationResult {
request_id: Value,
result: Option<Value>,
error: Option<String>,
},
}
Variants
Trait Implementations
sourceimpl Debug for EventMessage
impl Debug for EventMessage
sourceimpl Serialize for EventMessage
impl Serialize for EventMessage
Auto Trait Implementations
impl RefUnwindSafe for EventMessage
impl Send for EventMessage
impl Sync for EventMessage
impl Unpin for EventMessage
impl UnwindSafe for EventMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self