pub struct Bundle { /* private fields */ }Implementations§
Source§impl Bundle
impl Bundle
pub fn build( identity: Identity, sources: &[Source<'_>], limits: Limits, ) -> Result<Self, Error>
pub fn inspect(bytes: &[u8], limits: Limits) -> Result<Self, Error>
pub fn manifest(&self) -> &Manifest
pub fn bytes(&self) -> &[u8] ⓘ
pub fn declaration(&self, path: &str) -> Option<&Declaration>
pub fn file(&self, path: &str) -> Option<&[u8]>
pub fn extract(&self, parent: &Path) -> Result<TempDir, Error>
Auto Trait Implementations§
impl Freeze for Bundle
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnsafeUnpin for Bundle
impl UnwindSafe for Bundle
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