Skip to main content

dope_sys/kernel/
source.rs

1/// Native kernel outcomes retained without erasing their operation or payload.
2pub trait Source {
3    type Code: Copy + Eq;
4    type Failure<S: Copy + Eq>: Copy + Eq + From<crate::Errno> + Into<super::Diagnostic<S>>;
5    type Returned: Copy + Eq;
6}