create traits module

This commit is contained in:
2019-10-08 21:38:26 +02:00
parent 9669748e90
commit 5ddbbc7896
2 changed files with 9 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
//! File: traits.rs
//! Description: Contains the traits used in the project.
//! Created On: TIMESTAMP
//! Last Modified: TIMESTAMP
//! Author: Jali <jali@orca-central.de>
pub mod

9
src/traits/Document.rs Normal file
View File

@@ -0,0 +1,9 @@
// File: traits/Document.rs
// Description: Defines a trait for a gopher document.
// Created On: Tue 08 Oct 2019 09:37:41 pm CEST
// Least Modified: Tue 08 Oct 2019 09:37:41 pm CEST
// Author: Jali <jali@orca-central.de>
/// Defines a gopher document.
/// A valid document is any document, that can be a selector in gopher.
pub trait Document {}