[−][src]Struct axfive_libzip::source::Source
Borrows or owns a source
Trait Implementations
impl<T: Debug> Debug for Source<T>
[src]
impl<T> Drop for Source<T>
[src]
impl<'_> TryFrom<&'_ CStr> for Source<File>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(filename: &CStr) -> Result<Source<File>>
[src]
impl<'_> TryFrom<&'_ Path> for Source<File>
[src]
Open a zip file from a path. This is less efficient than the &CStr variant, so that should be preferred when you can construct a &CStr type directly or cache one. If you would just be converting a path to a cstring and then discarding it, this method might be preferable because that's all this does. This will also panic if the Path contains any null bytes.
type Error = Error
The type returned in the event of a conversion error.
fn try_from(filename: &Path) -> Result<Source<File>>
[src]
impl<'a> TryFrom<&'a [u8]> for Source<&'a [u8]>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Source<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for Source<T>
impl<T> !Sync for Source<T>
impl<T> Unpin for Source<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Source<T> where
T: UnwindSafe,
T: UnwindSafe,
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, 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>,