rust-integration-services 0.1.1

A modern, fast, and lightweight integration library written in Rust, designed for memory safety and stability.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub struct Error;

impl Error {
    pub fn tokio_io<T: AsRef<str>>(message: T) -> tokio::io::Error {
        tokio::io::Error::new(tokio::io::ErrorKind::Other, message.as_ref())
    }

    pub fn std_io<T: AsRef<str>>(message: T) -> std::io::Error {
        std::io::Error::new(std::io::ErrorKind::Other, message.as_ref())
    }
}