pub struct ReplConnection {
pub machine_name: MachineName,
/* private fields */
}Fields§
§machine_name: MachineNameImplementations§
Source§impl ReplConnection
impl ReplConnection
pub async fn new(url: Url, token: ApiToken) -> Result<Self, ClientError>
pub async fn exec( &mut self, code: &str, ) -> Result<ExecResultHandle, ClientError>
pub async fn exec_instruction( &mut self, instruction: Instruction, ) -> Result<ExecResultHandle, ClientError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ReplConnection
impl !RefUnwindSafe for ReplConnection
impl Send for ReplConnection
impl Sync for ReplConnection
impl Unpin for ReplConnection
impl !UnwindSafe for ReplConnection
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