diff --git a/src/storage/file.rs b/src/storage/file.rs index 5f3a7eb0..1f9026a5 100644 --- a/src/storage/file.rs +++ b/src/storage/file.rs @@ -303,3 +303,20 @@ impl Debug for File { } } +impl<'a> Display for File<'a> { + + fn fmt(&self, fmt: &mut Formatter) -> fmt::Result { + write!(fmt, +"[File] Owner : '{:?}' + FileID: '{:?}' + Header: '{:?}' + Data : '{:?}'", + self.owning_module, + self.header, + self.data, + self.id); + Ok(()) + } + +} +