pub struct OpencodeClient { /* private fields */ }Implementations§
Source§impl OpencodeClient
impl OpencodeClient
pub fn builder() -> OpencodeClientBuilder
pub async fn run_json( &self, request: OpencodeRunRequest, ) -> Result<OpencodeRunJsonHandle, OpencodeError>
pub async fn run_json_control( &self, request: OpencodeRunRequest, ) -> Result<OpencodeRunJsonControlHandle, OpencodeError>
Trait Implementations§
Source§impl Clone for OpencodeClient
impl Clone for OpencodeClient
Source§fn clone(&self) -> OpencodeClient
fn clone(&self) -> OpencodeClient
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 moreAuto Trait Implementations§
impl Freeze for OpencodeClient
impl RefUnwindSafe for OpencodeClient
impl Send for OpencodeClient
impl Sync for OpencodeClient
impl Unpin for OpencodeClient
impl UnsafeUnpin for OpencodeClient
impl UnwindSafe for OpencodeClient
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