Skip to content

Comments

Transpose operations#10

Open
Andrepuel wants to merge 1 commit intothk1:masterfrom
Andrepuel:transpose-operations
Open

Transpose operations#10
Andrepuel wants to merge 1 commit intothk1:masterfrom
Andrepuel:transpose-operations

Conversation

@Andrepuel
Copy link

Added transpose operations for SendWrapper<Result<T, E>> and SendWrapper<Option<T>> so that one can match on the inner Result or Option from any thread.

Similar to transpose() on Result<Option<T>, E> and Option<Result<T, E>>

Added transpose operations for SendWrapper<Result<T, E>> and SendWrapper<Option<T>> so that one can match on the inner Result or Option from any thread.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant