capsules_extra

Macro stream_from_option

Source
macro_rules! stream_from_option {
    ($opt:expr, $err:expr) => { ... };
    ($opt:expr) => { ... };
}
Expand description

Gets the result of an Option<T>, throwing a stream error if it is None