pub struct EngineCacheEntrySet {
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 EngineCacheEntrySet
impl EngineCacheEntrySet
Sourcepub async fn disk_space_bytes(&self) -> Result<isize, DaggerError>
pub async fn disk_space_bytes(&self) -> Result<isize, DaggerError>
The total disk space used by the cache entries in this set.
Sourcepub fn entries(&self) -> Vec<EngineCacheEntry>
pub fn entries(&self) -> Vec<EngineCacheEntry>
The list of individual cache entries in the set
Sourcepub async fn entry_count(&self) -> Result<isize, DaggerError>
pub async fn entry_count(&self) -> Result<isize, DaggerError>
The number of cache entries in this set.
Sourcepub async fn id(&self) -> Result<EngineCacheEntrySetId, DaggerError>
pub async fn id(&self) -> Result<EngineCacheEntrySetId, DaggerError>
A unique identifier for this EngineCacheEntrySet.
Trait Implementations§
Source§impl Clone for EngineCacheEntrySet
impl Clone for EngineCacheEntrySet
Source§fn clone(&self) -> EngineCacheEntrySet
fn clone(&self) -> EngineCacheEntrySet
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<EngineCacheEntrySetId> for EngineCacheEntrySet
impl IntoID<EngineCacheEntrySetId> for EngineCacheEntrySet
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<EngineCacheEntrySetId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for EngineCacheEntrySet
impl !RefUnwindSafe for EngineCacheEntrySet
impl Send for EngineCacheEntrySet
impl Sync for EngineCacheEntrySet
impl Unpin for EngineCacheEntrySet
impl !UnwindSafe for EngineCacheEntrySet
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