mirror of https://github.com/tikv/client-rust.git
parent
cfbf87d3bc
commit
a92f3710fe
|
@ -187,7 +187,8 @@ impl From<tikv_client_proto::kvrpcpb::KeyError> for Error {
|
|||
}
|
||||
}
|
||||
|
||||
/// A result holding an [`Error`](Error).
|
||||
/// The result type used in tikv-client.
|
||||
/// It holds an error type that contains varisous kinds of error that can happen in the crate.
|
||||
pub type Result<T> = result::Result<T, Error>;
|
||||
|
||||
#[macro_export]
|
||||
|
|
Loading…
Reference in New Issue