You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
genmarkov/src/sanitise/mod.rs

38 lines
525 B

//! Sanitisers
use super::*;
use std::{
marker::Unpin,
error,
fmt,
};
use tokio::{
prelude::*,
io::{
AsyncRead,
AsyncBufRead
},
};
mod word;
pub use word::*;
pub fn take_sentance<T: AsyncBufRead+ ?Sized + Unpin, U: AsyncWrite + ?Sized + Unpin>(from: &mut T, to: &mut U) -> Result<usize, Error>
{
todo!()
}
#[derive(Debug)]
pub enum Error {
}
impl error::Error for Error{}
impl fmt::Display for Error
{
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result
{
Ok(())
}
}