1 2 3 4 5 6 7 8 9 10 11 12 13
// ---------------- [ File: bitcoin-tokenpipe/src/token_pipe_end_status.rs ] crate::ix!(); /// Return value constants for TokenWrite and TokenRead. #[cfg(not(windows))] #[repr(i32)] #[derive(Debug, Copy, Clone, Eq, PartialEq)] pub enum TokenPipeEndStatus { /// I/O error TS_ERR = -1, /// End‑of‑stream TS_EOS = -2, }