pub struct FeatureFlags { /* private fields */ }
Expand description
accepting feature flags from env var with the format FEATURES=key;type;value,key;type;value
with type ‘b’ for boolean, ‘s’ for string, ‘i’ for i64, value in the expected type
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.