pub enum PropertyManagerRequest {
SetProfile {
intl_profile: Profile,
responder: PropertyManagerSetProfileResponder,
},
}
Expand description
For toy examples, defines the setter counterpart to the getter in
fuchsia.intl.PropertyProvider
, allowing the internationalization Profile
to be set via FIDL,
and hence passed on to additional recipients.
Note that in production scenarios, a fuchsia.intl.PropertyProvider
would like be reading the
user’s internationalization preferences from a preferences service and generating a Profile
,
rather than allowing a Profile
to be set directly.
Variants§
SetProfile
Set the internationalization profile that is served by this provider.
Implementations§
source§impl PropertyManagerRequest
impl PropertyManagerRequest
pub fn into_set_profile( self ) -> Option<(Profile, PropertyManagerSetProfileResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL