pub enum RuntimeEvent {
BridgeCall {
session_id: String,
call_id: u64,
method: String,
payload: Vec<u8>,
},
ExecutionResult {
session_id: String,
exit_code: i32,
exports: Option<Vec<u8>>,
error: Option<ExecutionErrorBin>,
},
Log {
session_id: String,
channel: u8,
message: String,
},
StreamCallback {
session_id: String,
callback_type: String,
payload: Vec<u8>,
},
}Variants§
Implementations§
Source§impl RuntimeEvent
impl RuntimeEvent
pub fn session_id(&self) -> &str
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Source§fn clone(&self) -> RuntimeEvent
fn clone(&self) -> RuntimeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeEvent
impl Debug for RuntimeEvent
Source§impl From<RuntimeEvent> for BinaryFrame
impl From<RuntimeEvent> for BinaryFrame
Source§fn from(event: RuntimeEvent) -> Self
fn from(event: RuntimeEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeEvent
impl PartialEq for RuntimeEvent
Source§fn eq(&self, other: &RuntimeEvent) -> bool
fn eq(&self, other: &RuntimeEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeEvent
Auto Trait Implementations§
impl Freeze for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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