pub enum TrustedFlatlandFactoryRequest {
CreateFlatland {
server_end: ServerEnd<FlatlandMarker>,
config: TrustedFlatlandConfig,
responder: TrustedFlatlandFactoryCreateFlatlandResponder,
},
}
Expand description
A privileged factory for creating Flatland instances with special configurations.
This protocol is intended for trusted clients that require fine-grained control over Flatland’s behavior for performance-critical applications. It is not intended for general use. Misuse of this API can negatively impact system performance and stability.
Variants§
CreateFlatland
Creates a new Flatland instance with the specified configuration.
§Error
Returns a TrustedFlatlandFactoryError
error if the operation fails.
Implementations§
Source§impl TrustedFlatlandFactoryRequest
impl TrustedFlatlandFactoryRequest
pub fn into_create_flatland( self, ) -> Option<(ServerEnd<FlatlandMarker>, TrustedFlatlandConfig, TrustedFlatlandFactoryCreateFlatlandResponder)>
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 TrustedFlatlandFactoryRequest
impl !RefUnwindSafe for TrustedFlatlandFactoryRequest
impl Send for TrustedFlatlandFactoryRequest
impl Sync for TrustedFlatlandFactoryRequest
impl Unpin for TrustedFlatlandFactoryRequest
impl !UnwindSafe for TrustedFlatlandFactoryRequest
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