Lines Matching defs:ExitCode
14 pub type ExitCode = i32; typedef
27 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
31 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
36 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
47 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
54 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
63 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
76 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
80 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
85 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
91 fn to_exit_code(&self) -> Option<ExitCode>; in to_exit_code()
95 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
102 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
111 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
121 fn to_exit_code(&self) -> Option<ExitCode> { in to_exit_code()
131 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
135 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
140 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
148 fn exit_code<X>(self, exit_code: X) -> anyhow::Result<T> in exit_code()
155 fn exit_context<X, C>(self, exit_code: X, context: C) -> anyhow::Result<T> in exit_context()
164 fn with_exit_context<X, C, F>(self, exit_code: X, f: F) -> anyhow::Result<T> in with_exit_context()
395 impl From<Exit> for ExitCode { implementation