pub enum Frame {
Hello {
api: u32,
pid: u32,
dev_key: Option<String>,
},
Call {
id: u64,
service: String,
method: String,
args: Vec<Value>,
},
Answer {
id: u64,
result: Result<Value, Value>,
},
Ready {
provides: Map<String, Value>,
},
Invoke {
function: u64,
args: Value,
},
Release {
function: u64,
},
DevResponse {
id: u64,
ok: bool,
payload: String,
},
DevEvent {
text: String,
},
DevTools {
port: u64,
},
DevInject {
event: Value,
},
DevWindow {
change: Value,
},
Panels {
user_only: Vec<[i32; 4]>,
},
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Framewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<[i32; 4]>: Freeze,
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Framewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<[i32; 4]>: UnsafeUnpin,
impl UnwindSafe for Frame
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