Skip to main content

both

Function both 

Source
pub fn both<A, B>(first: Result<A>, second: Result<B>) -> Result<(A, B)>
Expand description

Both values, or the errors of every one that failed (in order).

ยงErrors

Returns the combined errors of first and second.