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