Enum Unpacked
pub enum Unpacked
When unpacking items the unpacked thing is returned to allow custom additional handling by users. Today the File is returned, in future the enum may be extended with kinds for links, directories etc.
Variants
-
File(File) A file was unpacked.
Trait Implementations
impl Debug for Unpacked
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl Freeze for Unpacked
impl RefUnwindSafe for Unpacked
impl Send for Unpacked
impl Sync for Unpacked
impl Unpin for Unpacked
impl UnsafeUnpin for Unpacked
impl UnwindSafe for Unpacked
Blanket Implementations
impl<T> Any for Unpacked
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Unpacked
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Unpacked
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Unpacked
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Unpacked
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Unpacked
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Unpacked
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>