Struct dagger_sdk::DaggerEngineCacheEntry
source · pub struct DaggerEngineCacheEntry {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl DaggerEngineCacheEntry
impl DaggerEngineCacheEntry
sourcepub async fn actively_used(&self) -> Result<bool, DaggerError>
pub async fn actively_used(&self) -> Result<bool, DaggerError>
Whether the cache entry is actively being used.
sourcepub async fn created_time_unix_nano(&self) -> Result<isize, DaggerError>
pub async fn created_time_unix_nano(&self) -> Result<isize, DaggerError>
The time the cache entry was created, in Unix nanoseconds.
sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
The description of the cache entry.
sourcepub async fn disk_space_bytes(&self) -> Result<isize, DaggerError>
pub async fn disk_space_bytes(&self) -> Result<isize, DaggerError>
The disk space used by the cache entry.
sourcepub async fn id(&self) -> Result<DaggerEngineCacheEntryId, DaggerError>
pub async fn id(&self) -> Result<DaggerEngineCacheEntryId, DaggerError>
A unique identifier for this DaggerEngineCacheEntry.
sourcepub async fn most_recent_use_time_unix_nano(&self) -> Result<isize, DaggerError>
pub async fn most_recent_use_time_unix_nano(&self) -> Result<isize, DaggerError>
The most recent time the cache entry was used, in Unix nanoseconds.
Trait Implementations§
source§impl Clone for DaggerEngineCacheEntry
impl Clone for DaggerEngineCacheEntry
source§fn clone(&self) -> DaggerEngineCacheEntry
fn clone(&self) -> DaggerEngineCacheEntry
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<DaggerEngineCacheEntryId> for DaggerEngineCacheEntry
impl IntoID<DaggerEngineCacheEntryId> for DaggerEngineCacheEntry
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<DaggerEngineCacheEntryId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for DaggerEngineCacheEntry
impl !RefUnwindSafe for DaggerEngineCacheEntry
impl Send for DaggerEngineCacheEntry
impl Sync for DaggerEngineCacheEntry
impl Unpin for DaggerEngineCacheEntry
impl !UnwindSafe for DaggerEngineCacheEntry
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)