conspire 0.7.2

The Rust interface to conspire.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod read;
#[cfg(test)]
mod test;
pub mod write;

use std::io::{Error, ErrorKind};

pub fn invalid(message: String) -> Error {
    Error::new(ErrorKind::InvalidData, message)
}

pub fn unsupported(message: &str) -> Error {
    Error::new(ErrorKind::Unsupported, message.to_string())
}