pub enum SecureStoreRequest {
Identify {
name: String,
control_handle: SecureStoreControlHandle,
},
CreateAccessor {
read_only: bool,
accessor_request: ServerEnd<StoreAccessorMarker>,
control_handle: SecureStoreControlHandle,
},
}
Expand description
Interface used to interact with a given client’s key/value store. The bytes type is disabled in this store.
Variants§
Identify
Identify should be called at the beginning of a connection to identify which client service’s store is to be accessed. In the future this will be deprecated in favor of component monikers, and each client will only be able to access its own store.
CreateAccessor
Creates a accessor for interacting with the store. The resulting interface can be used to inspect and modify the state of the store.
Implementations§
Source§impl SecureStoreRequest
impl SecureStoreRequest
pub fn into_identify(self) -> Option<(String, SecureStoreControlHandle)>
pub fn into_create_accessor( self, ) -> Option<(bool, ServerEnd<StoreAccessorMarker>, SecureStoreControlHandle)>
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 SecureStoreRequest
impl !RefUnwindSafe for SecureStoreRequest
impl Send for SecureStoreRequest
impl Sync for SecureStoreRequest
impl Unpin for SecureStoreRequest
impl !UnwindSafe for SecureStoreRequest
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