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.
Sourcepub async fn sync(&self) -> Result<TerminalId, DaggerError>
pub async fn sync(&self) -> Result<TerminalId, DaggerError>
Forces evaluation of the pipeline in the engine. It doesn’t run the default command if no exec has been set.
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 UnsafeUnpin 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