pub enum UtilRequest {
GetArguments {
responder: UtilGetArgumentsResponder,
},
GetArgumentCount {
responder: UtilGetArgumentCountResponder,
},
GetEnvironment {
responder: UtilGetEnvironmentResponder,
},
GetEnvironmentCount {
responder: UtilGetEnvironmentCountResponder,
},
DumpNamespace {
responder: UtilDumpNamespaceResponder,
},
ReadFile {
path: String,
responder: UtilReadFileResponder,
},
GetLifecycleKoid {
responder: UtilGetLifecycleKoidResponder,
},
}
Variants§
GetArguments
Fields
§
responder: UtilGetArgumentsResponder
GetArgumentCount
Fields
§
responder: UtilGetArgumentCountResponder
GetEnvironment
Fields
§
responder: UtilGetEnvironmentResponder
GetEnvironmentCount
Fields
§
responder: UtilGetEnvironmentCountResponder
DumpNamespace
Fields
§
responder: UtilDumpNamespaceResponder
ReadFile
GetLifecycleKoid
Fields
§
responder: UtilGetLifecycleKoidResponder
Implementations§
Source§impl UtilRequest
impl UtilRequest
pub fn into_get_arguments(self) -> Option<UtilGetArgumentsResponder>
pub fn into_get_argument_count(self) -> Option<UtilGetArgumentCountResponder>
pub fn into_get_environment(self) -> Option<UtilGetEnvironmentResponder>
pub fn into_get_environment_count( self, ) -> Option<UtilGetEnvironmentCountResponder>
pub fn into_dump_namespace(self) -> Option<UtilDumpNamespaceResponder>
pub fn into_read_file(self) -> Option<(String, UtilReadFileResponder)>
pub fn into_get_lifecycle_koid(self) -> Option<UtilGetLifecycleKoidResponder>
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 UtilRequest
impl !RefUnwindSafe for UtilRequest
impl Send for UtilRequest
impl Sync for UtilRequest
impl Unpin for UtilRequest
impl !UnwindSafe for UtilRequest
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