[][src]Struct axfive_libzip::source::Source

pub struct Source<T> { /* fields omitted */ }

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.

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.

impl<'a> TryFrom<&'a [u8]> for Source<&'a [u8]>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<T> RefUnwindSafe for Source<T> where
    T: RefUnwindSafe

impl<T> !Send for Source<T>

impl<T> !Sync for Source<T>

impl<T> Unpin for Source<T> where
    T: Unpin

impl<T> UnwindSafe for Source<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.