aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.rs')
-rw-r--r--src/writer.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/writer.rs b/src/writer.rs
index d7fc037..456a5a1 100644
--- a/src/writer.rs
+++ b/src/writer.rs
@@ -12,9 +12,15 @@ pub struct Writer<W> {
}
impl<W: AsyncWrite> Writer<W> {
- pub async fn write(&self, element: impl Into<Element>) -> Result<(), Error> {}
- pub async fn write_start(&self, element: impl Into<Element>) -> Result<(), Error> {}
- pub async fn write_end(&self) -> Result<(), Error> {}
+ pub async fn write(&self, element: impl Into<Element>) -> Result<(), Error> {
+ todo!()
+ }
+ pub async fn write_start(&self, element: impl Into<Element>) -> Result<(), Error> {
+ todo!()
+ }
+ pub async fn write_end(&self) -> Result<(), Error> {
+ todo!()
+ }
}
impl<W: AsyncWrite, E: Into<Element>> Sink<E> for Writer<W> {