dope-manifold 0.41.0

Owned application and service composition for dope
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::client::session::response::flow;

pub enum Effect {
    Committed,
    Close,
    RetryInput,
    Yield,
    Blocked,
}

impl Effect {
    pub(super) const fn from_end(end: flow::End) -> Self {
        match end {
            flow::End::Continue => Self::Committed,
            flow::End::Close => Self::Close,
        }
    }
}