struct LocalAsset {
name: String,
bytes: Vec<u8>,
sha256: String,
}Fields§
§name: String§bytes: Vec<u8>§sha256: StringImplementations§
Source§impl LocalAsset
impl LocalAsset
fn load_all( entries: &[ManifestEntry], directory: &Path, publication: &Publication<'_>, ) -> Result<Vec<Self>, ArtifactError>
async fn all_match<R: ForgeRelease>( local: &[Self], remote_assets: &[RemoteAsset], remote: &R, ) -> Result<bool, ArtifactError>
async fn matches<R: ForgeRelease>( &self, asset: &RemoteAsset, remote: &R, ) -> Result<bool, ArtifactError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalAsset
impl RefUnwindSafe for LocalAsset
impl Send for LocalAsset
impl Sync for LocalAsset
impl Unpin for LocalAsset
impl UnsafeUnpin for LocalAsset
impl UnwindSafe for LocalAsset
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