pub struct StorageItem {
pub name: String,
pub spec: StorageSpec,
pub backend: Box<dyn StorageBackend + Send + Sync>,
}Expand description
A single declared storage item bound to the backend that services it.
Fields§
§name: StringThe name the workflow author gave this storage entry in [storage.*].
spec: StorageSpecThe declaration from the workflow file.
backend: Box<dyn StorageBackend + Send + Sync>Backend that materialises this entry. Always FilesystemBackend
today; the trait leaves room for future sqlite/remote backends.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StorageItem
impl !RefUnwindSafe for StorageItem
impl Send for StorageItem
impl Sync for StorageItem
impl Unpin for StorageItem
impl UnsafeUnpin for StorageItem
impl !UnwindSafe for StorageItem
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