#[must_use = "if unused the sink may immediately cancel the RPC"]
pub struct UnarySink<T> { /* fields omitted */ }
A sink for unary call.
To close the sink properly, you should call success
or fail
before dropping.
The corresponding RPC will be canceled if the sink did not
send a response before dropping.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static