Macro tikv_util::try_opt[][src]

macro_rules! try_opt {
    ($expr:expr) => { ... };
}

Checks Result<Option<T>>, and returns early when it meets Err or Ok(None).