pub struct ArtifactView {
pub component: Component,
/* private fields */
}Fields§
§component: ComponentStructural routing selector, not proof of server admission.
Implementations§
Source§impl ArtifactView
impl ArtifactView
pub fn lengths(&self) -> Vec<u64>
Sourcepub fn artifact(&self) -> &Artifact
pub fn artifact(&self) -> &Artifact
Exact descriptor recipe; callers must bind it to current stored inputs.
pub fn context(&self) -> LocalSharedStatePackageContext
pub fn stream(&self) -> [u8; 32]
Sourcepub fn identity(&self) -> Result<([u8; 32], u8, u8)>
pub fn identity(&self) -> Result<([u8; 32], u8, u8)>
Record identity, family and class used by the chunk-header verifier.
pub fn verify_chunk(&self, index: usize, bytes: &[u8]) -> Result<()>
pub fn verify(&self, records: &[Vec<u8>]) -> Result<()>
Auto Trait Implementations§
impl Freeze for ArtifactView
impl RefUnwindSafe for ArtifactView
impl Send for ArtifactView
impl Sync for ArtifactView
impl Unpin for ArtifactView
impl UnsafeUnpin for ArtifactView
impl UnwindSafe for ArtifactView
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