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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PropertyManagerRequest
impl !RefUnwindSafe for PropertyManagerRequest
impl Send for PropertyManagerRequest
impl Sync for PropertyManagerRequest
impl Unpin for PropertyManagerRequest
impl !UnwindSafe for PropertyManagerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more