aboutsummaryrefslogtreecommitdiff
path: root/src/dav/encoder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dav/encoder.rs')
-rw-r--r--src/dav/encoder.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/dav/encoder.rs b/src/dav/encoder.rs
new file mode 100644
index 0000000..9bc564a
--- /dev/null
+++ b/src/dav/encoder.rs
@@ -0,0 +1,16 @@
+
+
+pub trait Encode {
+ fn write(&self, a: &mut u64) -> String;
+}
+
+
+#[cfg(test)]
+mod tests {
+ // Note this useful idiom: importing names from outer (for mod tests) scope.
+ use super::*;
+
+ #[test]
+ fn test_href() {
+ }
+}