diff options
author | cel 🌸 <cel@blos.sm> | 2024-06-14 13:11:32 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-06-14 13:11:32 +0100 |
commit | bec1a204390f4f4ea60e419331a5903e5f88169e (patch) | |
tree | d78b64b9e612f37ac769bbeaff4df958fcce3a18 /src/writer.rs | |
parent | a92aee921d6e3cfcb8bf2e08ceefd40a66df940f (diff) | |
download | peanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.tar.gz peanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.tar.bz2 peanuts-bec1a204390f4f4ea60e419331a5903e5f88169e.zip |
actually get it to build for initial tests
Diffstat (limited to 'src/writer.rs')
-rw-r--r-- | src/writer.rs | 12 |
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> { |