We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
must_use
SagaResult
SagaResult describes the result of executing a saga, akin to Rust's native Result type:
Result
steno/src/saga_exec.rs
Lines 1407 to 1415 in 8da3eda
This type is propagated back to the SecClient, where it may be acquired when awaiting the future returned from saga_create.
SecClient
saga_create
As this is the only mechanism for actually checking the success or failure of a saga, we should consider annotating it with the must_use attribute.
Note that this would align with the stdlib Result type attribute, which uses must_use to encourage callers to handle errors explicitly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SagaResult
describes the result of executing a saga, akin to Rust's nativeResult
type:steno/src/saga_exec.rs
Lines 1407 to 1415 in 8da3eda
This type is propagated back to the
SecClient
, where it may be acquired when awaiting the future returned fromsaga_create
.As this is the only mechanism for actually checking the success or failure of a saga, we should consider annotating it with the must_use attribute.
Note that this would align with the stdlib Result type attribute, which uses
must_use
to encourage callers to handle errors explicitly.The text was updated successfully, but these errors were encountered: