pub struct CliSession { /* private fields */ }Implementations§
Source§impl CliSession
impl CliSession
pub fn new() -> Self
pub async fn connect( &self, config: &Config, cli_path: &Path, ) -> Result<(ConnectParams, DaggerSessionProc)>
Trait Implementations§
Source§impl Clone for CliSession
impl Clone for CliSession
Source§fn clone(&self) -> CliSession
fn clone(&self) -> CliSession
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CliSession
impl Debug for CliSession
Auto Trait Implementations§
impl Freeze for CliSession
impl RefUnwindSafe for CliSession
impl Send for CliSession
impl Sync for CliSession
impl Unpin for CliSession
impl UnwindSafe for CliSession
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