Skip to main content

rel_path_if_supported

Macro rel_path_if_supported 

Source
macro_rules! rel_path_if_supported {
    ($self:expr, $spec:expr, $ret:expr, $item_type:expr) => { ... };
}
Expand description

Extract the key path (relative to the keystore root) from the specified result res, or return an error.

If res is None, return ret.