MCPcopy Create free account
hub / github.com/Sovereign-Engineering/obscuravpn-client / get

Method get

rustlib/src/debug_bundle/task.rs:26–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

24
25impl<T> TaskResult<T> {
26 pub fn get(&self) -> Option<&T> {
27 match self {
28 TaskResult::Success(v) => Some(v),
29 _ => None,
30 }
31 }
32}
33
34pub async fn run_debug_task<T>(task: impl Future<Output = Result<T, Box<dyn Error>>>) -> DebugTask<T> {

Callers 1

debug_httpFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected