pub struct NodeBundle { /* private fields */ }Expand description
Immutable host-local bundle bytes and their public content receipt.
Implementations§
Source§impl NodeBundle
impl NodeBundle
pub fn new( id: SpawnBundleId, revision: SpawnBundleRevision, expected_digest: SpawnBundleDigest, root: impl AsRef<Path>, ) -> Result<Self, NodeBundleError>
pub fn id(&self) -> &SpawnBundleId
pub fn revision(&self) -> &SpawnBundleRevision
pub fn digest(&self) -> &SpawnBundleDigest
pub fn files(&self) -> &[NodeBundleFile]
pub fn receipt(&self) -> ResolvedBundleReceipt
Trait Implementations§
Source§impl Clone for NodeBundle
impl Clone for NodeBundle
Source§impl Debug for NodeBundle
impl Debug for NodeBundle
impl Eq for NodeBundle
Source§impl PartialEq for NodeBundle
impl PartialEq for NodeBundle
impl StructuralPartialEq for NodeBundle
Auto Trait Implementations§
impl Freeze for NodeBundle
impl RefUnwindSafe for NodeBundle
impl Send for NodeBundle
impl Sync for NodeBundle
impl Unpin for NodeBundle
impl UnsafeUnpin for NodeBundle
impl UnwindSafe for NodeBundle
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