sfo-io 0.1.19

A Rust library for handling IO operations, providing asynchronous read/write and stream processing capabilities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub use sfo_result::err as sfoio_err;
pub use sfo_result::into_err as into_sfoio_err;

#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum SfoIOErrorCode {
    Failed,
    CmdReturnFailed,
}

pub type SfoIOResult<T> = sfo_result::Result<T, SfoIOErrorCode>;
#[allow(dead_code)]
pub type SfoIOError = sfo_result::Error<SfoIOErrorCode>;