pub struct ArtifactStore {
pub limits: ArtifactLimits,
/* private fields */
}Fields§
§limits: ArtifactLimitsImplementations§
Source§impl ArtifactStore
impl ArtifactStore
pub fn new( limits: ArtifactLimits, env: &Arc<Environment>, log_sizes: bool, ) -> Result<Self>
pub fn put(&self, name: &str, kind: ArtifactKind, content: &[u8]) -> Result<()>
pub fn get(&self, name: &str, kind: ArtifactKind) -> Result<Bytes>
pub fn delete(&self, name: &str, kind: ArtifactKind) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactStore
impl !UnwindSafe for ArtifactStore
impl Freeze for ArtifactStore
impl Send for ArtifactStore
impl Sync for ArtifactStore
impl Unpin for ArtifactStore
impl UnsafeUnpin for ArtifactStore
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