pub enum TaskProviderRequest {
GetJob {
responder: TaskProviderGetJobResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: TaskProviderControlHandle,
method_type: MethodType,
},
}
Expand description
Served by runners that want to make a zircon job available through their runtime directory.
Variants§
GetJob
Returns a job handle for the component requested.
On success, returns a handle with the same rights as the runner’s.
Fields
§
responder: TaskProviderGetJobResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: TaskProviderControlHandle
§
method_type: MethodType
Implementations§
Source§impl TaskProviderRequest
impl TaskProviderRequest
pub fn into_get_job(self) -> Option<TaskProviderGetJobResponder>
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 TaskProviderRequest
impl !RefUnwindSafe for TaskProviderRequest
impl Send for TaskProviderRequest
impl Sync for TaskProviderRequest
impl Unpin for TaskProviderRequest
impl !UnwindSafe for TaskProviderRequest
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