1 2 3 4 5 6 7
use crate::Errno; #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum Attempt<T> { Ready(T), Blocked(Errno), }