pub struct CommandClient { /* private fields */ }Expand description
Sync wrapper around AsyncCommandClient for scripts.
Implementations§
Source§impl CommandClient
impl CommandClient
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Override timeout.
Sourcepub fn job_create(
&self,
goal: &str,
rail_id: &str,
workspace: Option<&str>,
) -> Result<Map<String, Value>>
pub fn job_create( &self, goal: &str, rail_id: &str, workspace: Option<&str>, ) -> Result<Map<String, Value>>
job_create. rail_id is required (loop-native submission path).
Sourcepub fn job_guidance(
&self,
job_id: &str,
content: &str,
goal_id: Option<&str>,
) -> Result<Map<String, Value>>
pub fn job_guidance( &self, job_id: &str, content: &str, goal_id: Option<&str>, ) -> Result<Map<String, Value>>
job_guidance.
Trait Implementations§
Source§impl Clone for CommandClient
impl Clone for CommandClient
Auto Trait Implementations§
impl Forget for CommandClient
impl Freeze for CommandClient
impl Move for CommandClient
impl RefUnwindSafe for CommandClient
impl Send for CommandClientwhere
RawVecInner: Send,
impl Sync for CommandClientwhere
RawVecInner: Sync,
impl Unpin for CommandClient
impl UnsafeUnpin for CommandClient
impl UnwindSafe for CommandClientwhere
RawVecInner: UnwindSafe,
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