pub enum Command {
Load {
json_body: String,
seed: Option<u64>,
global_data: Option<String>,
reply: Sender<Result<Value, String>>,
},
Check {
json_body: String,
reply: Sender<Result<Value, String>>,
},
HasNext {
reply: Sender<Result<Value, String>>,
},
GetNext {
verbose: bool,
reply: Sender<Result<Value, String>>,
},
GetData {
reply: Sender<Result<Value, String>>,
},
SetData {
script: String,
reply: Sender<Result<Value, String>>,
},
Restart {
reply: Sender<Result<Value, String>>,
},
GetStatistics {
reply: Sender<Result<Value, String>>,
},
GetModel {
reply: Sender<Result<Value, String>>,
},
UpdateAllElements {
reply: Sender<Result<Value, String>>,
},
ConvertGraphml {
graphml: String,
reply: Sender<Result<Value, String>>,
},
}Expand description
Legacy transport commands. Domain behavior lives in graphwalker-service;
this actor only maps typed service results to the established REST and
WebSocket JSON shapes.
Variants§
Load
Fields
Check
HasNext
GetNext
GetData
SetData
Restart
GetStatistics
GetModel
UpdateAllElements
ConvertGraphml
Auto Trait Implementations§
impl !RefUnwindSafe for Command
impl !UnwindSafe for Command
impl Freeze for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
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