aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-06-14 13:11:32 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-06-14 13:11:32 +0100
commitbec1a204390f4f4ea60e419331a5903e5f88169e (patch)
treed78b64b9e612f37ac769bbeaff4df958fcce3a18 /src/writer.rs
parenta92aee921d6e3cfcb8bf2e08ceefd40a66df940f (diff)
downloadpeanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.tar.gz
peanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.tar.bz2
peanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.zip
actually get it to build for initial tests
Diffstat (limited to '')
-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> {