pub struct Engine {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl Engine
impl Engine
Sourcepub async fn id(&self) -> Result<EngineId, DaggerError>
pub async fn id(&self) -> Result<EngineId, DaggerError>
A unique identifier for this Engine.
Sourcepub fn local_cache(&self) -> EngineCache
pub fn local_cache(&self) -> EngineCache
The local (on-disk) cache for the Dagger engine
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Engine
impl !RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl !UnwindSafe for Engine
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