[−][src]Struct jagged::Archive
Implementations
impl Archive
[src]
impl Archive
[src]
pub fn contains_key<S>(&self, key: S) -> bool where
S: Into<String>,
[src]
S: Into<String>,
Returns true
if the entry table contains the specified key.
pub fn remove<S>(&mut self, key: S) -> Option<Vec<u8>> where
S: Into<String>,
[src]
S: Into<String>,
Removes an entry.
pub fn clear(&mut self)
[src]
Clears the entry table of this archive
pub fn len(&self) -> usize
[src]
Returns the number of entries this archive contains.
pub fn is_empty(&self) -> bool
[src]
Returns true
if the archive contains no entries
Trait Implementations
impl Clone for Archive
[src]
impl Debug for Archive
[src]
impl Default for Archive
[src]
impl ReadArchive for Archive
[src]
fn get<S>(&self, key: S) -> Option<&Vec<u8>> where
S: Into<String>,
[src]
S: Into<String>,
fn get_mut<S>(&mut self, key: S) -> Option<&mut Vec<u8>> where
S: Into<String>,
[src]
S: Into<String>,
impl<'_> TryFrom<&'_ Path> for Archive
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(path: &Path) -> Result<Self, Error>
[src]
Attempts to read an existing archive from disk into a new archive.
impl WriteArchive for Archive
[src]
Auto Trait Implementations
impl RefUnwindSafe for Archive
impl Send for Archive
impl Sync for Archive
impl Unpin for Archive
impl UnwindSafe for Archive
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,