Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ try_collect
Method
try_collect
libs/error-stack/src/ext/tuple.rs:63–70 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
61
type Output = (T,);
62
63
fn try_collect(self) -> Result<Self::Output, Report<[C]>> {
64
let (result,) = self;
65
66
match result {
67
Ok(value) => Ok((value,)),
68
Err(report) => Err(report.into()),
69
}
70
}
71
}
72
73
#[rustfmt::skip]
Callers
15
decode
Method · 0.80
create_producer
Method · 0.80
create_producer
Method · 0.80
create_producer
Method · 0.80
create_producer
Method · 0.80
create_distribution
Method · 0.80
create_distribution
Method · 0.80
single_error
Function · 0.80
no_error
Function · 0.80
expanded_error
Function · 0.80
single_and_expanded_mixed
Function · 0.80
multiple_errors
Function · 0.80
Calls
2
Ok
Interface · 0.85
Err
Interface · 0.85
Tested by
5
single_error
Function · 0.64
no_error
Function · 0.64
expanded_error
Function · 0.64
single_and_expanded_mixed
Function · 0.64
multiple_errors
Function · 0.64