pub type PropertiesResult<'err, T, B> = <<B as PropertiesBackend>::DataFilesAvailability as DataFilesAvailability>::Result<'err, T>;
Expand description
Wrapper for the return type of SwhGraphProperties
methods.
When B
implements GuaranteedDataFiles
(the most common case), PropertiesResult<'err, T, B>
is exactly the same type as T
.
aWhen B
implements OptionalDataFiles
(which is the case when using
opt_load_*
instead of load_*
or load_all
for example),
then PropertiesResult<'err, T, B>
is exactly the same type as Result<T, &'err UnavailableProperty>
.