pub enum GlowCommand {
Subscribe,
Unsubscribe,
GetDirectory,
Invoke {
invocation_id: i32,
arguments: Vec<EmberValue>,
},
}Expand description
A command in the Ember+ protocol.
Variants§
Subscribe
Subscribe to changes
Unsubscribe
Unsubscribe from changes
GetDirectory
Get directory (children)
Invoke
Invoke a function
Implementations§
Trait Implementations§
Source§impl Clone for GlowCommand
impl Clone for GlowCommand
Source§fn clone(&self) -> GlowCommand
fn clone(&self) -> GlowCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 GlowCommand
impl Debug for GlowCommand
Source§impl PartialEq for GlowCommand
impl PartialEq for GlowCommand
impl StructuralPartialEq for GlowCommand
Auto Trait Implementations§
impl Freeze for GlowCommand
impl RefUnwindSafe for GlowCommand
impl Send for GlowCommand
impl Sync for GlowCommand
impl Unpin for GlowCommand
impl UnsafeUnpin for GlowCommand
impl UnwindSafe for GlowCommand
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