Type Alias tor_socksproto::TResult
source · pub type TResult<T> = Result<Result<T>, Truncated>;
Expand description
A Result type for the tor_socksproto crate, including the possibility of a truncated message.
This is a separate type from Result because a truncated message is not a true error: it just means that you need to read more bytes and try again.
Aliased Type§
enum TResult<T> {
// some variants omitted
}