pub enum FileOrDirectory<B: Deref<Target = [Block]>, E: Debug, IO>where
IO: IO<Block<'static> = B, Error = E>,{
File(File<B, E, IO>),
Directory(Directory<B, E, IO>),
}Variants§
Auto Trait Implementations§
impl<B, E, IO> Freeze for FileOrDirectory<B, E, IO>
impl<B, E, IO> !RefUnwindSafe for FileOrDirectory<B, E, IO>
impl<B, E, IO> !Send for FileOrDirectory<B, E, IO>
impl<B, E, IO> !Sync for FileOrDirectory<B, E, IO>
impl<B, E, IO> Unpin for FileOrDirectory<B, E, IO>
impl<B, E, IO> !UnwindSafe for FileOrDirectory<B, E, IO>
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