Struct dagger_sdk::DaggerEngine
source · pub struct DaggerEngine {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl DaggerEngine
impl DaggerEngine
sourcepub async fn id(&self) -> Result<DaggerEngineId, DaggerError>
pub async fn id(&self) -> Result<DaggerEngineId, DaggerError>
A unique identifier for this DaggerEngine.
sourcepub fn local_cache(&self) -> DaggerEngineCache
pub fn local_cache(&self) -> DaggerEngineCache
The local (on-disk) cache for the Dagger engine
Trait Implementations§
source§impl Clone for DaggerEngine
impl Clone for DaggerEngine
source§fn clone(&self) -> DaggerEngine
fn clone(&self) -> DaggerEngine
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl IntoID<DaggerEngineId> for DaggerEngine
impl IntoID<DaggerEngineId> for DaggerEngine
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<DaggerEngineId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for DaggerEngine
impl !RefUnwindSafe for DaggerEngine
impl Send for DaggerEngine
impl Sync for DaggerEngine
impl Unpin for DaggerEngine
impl !UnwindSafe for DaggerEngine
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)