@@ -21,6 +21,7 @@ use crate::time::TimeProvider;
2121
2222const LFN_PADDING : u16 = 0xFFFF ;
2323
24+ #[ derive( Debug ) ]
2425pub ( crate ) enum DirRawStream < ' a , IO : ReadWriteSeek , TP , OCC > {
2526 File ( File < ' a , IO , TP , OCC > ) ,
2627 Root ( DiskSlice < FsIoAdapter < ' a , IO , TP , OCC > , FsIoAdapter < ' a , IO , TP , OCC > > ) ,
@@ -105,6 +106,7 @@ enum DirEntryOrShortName<'a, IO: ReadWriteSeek, TP, OCC> {
105106///
106107/// This struct is created by the `open_dir` or `create_dir` methods on `Dir`.
107108/// The root directory is returned by the `root_dir` method on `FileSystem`.
109+ #[ derive( Debug ) ]
108110pub struct Dir < ' a , IO : ReadWriteSeek , TP , OCC > {
109111 stream : DirRawStream < ' a , IO , TP , OCC > ,
110112 fs : & ' a FileSystem < IO , TP , OCC > ,
@@ -581,6 +583,7 @@ impl<IO: ReadWriteSeek, TP: TimeProvider, OCC: OemCpConverter> Clone for Dir<'_,
581583/// An iterator over the directory entries.
582584///
583585/// This struct is created by the `iter` method on `Dir`.
586+ #[ derive( Debug ) ]
584587pub struct DirIter < ' a , IO : ReadWriteSeek , TP , OCC > {
585588 stream : DirRawStream < ' a , IO , TP , OCC > ,
586589 fs : & ' a FileSystem < IO , TP , OCC > ,
0 commit comments