pub struct EngineCacheEntry {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl EngineCacheEntry
impl EngineCacheEntry
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<EngineCacheEntryId, DaggerError>
pub async fn id(&self) -> Result<EngineCacheEntryId, DaggerError>
A unique identifier for this EngineCacheEntry.
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.
Sourcepub async fn record_type(&self) -> Result<String, DaggerError>
pub async fn record_type(&self) -> Result<String, DaggerError>
The type of the cache record (e.g. regular, internal, frontend, source.local, source.git.checkout, exec.cachemount).
Trait Implementations§
Source§impl Clone for EngineCacheEntry
impl Clone for EngineCacheEntry
Source§fn clone(&self) -> EngineCacheEntry
fn clone(&self) -> EngineCacheEntry
Returns a duplicate 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<EngineCacheEntryId> for EngineCacheEntry
impl IntoID<EngineCacheEntryId> for EngineCacheEntry
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<EngineCacheEntryId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for EngineCacheEntry
impl !RefUnwindSafe for EngineCacheEntry
impl Send for EngineCacheEntry
impl Sync for EngineCacheEntry
impl Unpin for EngineCacheEntry
impl UnsafeUnpin for EngineCacheEntry
impl !UnwindSafe for EngineCacheEntry
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