Struct dagger_sdk::Terminal
source · pub struct Terminal {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl Terminal
impl Terminal
sourcepub async fn id(&self) -> Result<TerminalId, DaggerError>
pub async fn id(&self) -> Result<TerminalId, DaggerError>
A unique identifier for this Terminal.
Trait Implementations§
source§impl IntoID<TerminalId> for Terminal
impl IntoID<TerminalId> for Terminal
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<TerminalId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for Terminal
impl !RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl !UnwindSafe for Terminal
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)