pub struct Archive { /* private fields */ }Expand description
Parsed Human Readable Archive data.
Implementations§
Source§impl Archive
impl Archive
Sourcepub fn load(file: &Path) -> Result<Archive, FileError>
pub fn load(file: &Path) -> Result<Archive, FileError>
Load hrx data from a file system path.
§Errors
Returns a FileError::Io if the path can’t be read or a
FileError::Data if the contents isn’t proper hrx.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Archive
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnsafeUnpin for Archive
impl UnwindSafe for Archive
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