pub enum ConscriptRequest {
Serve {
iface: ServerEnd<EchoMarker>,
control_handle: ConscriptControlHandle,
},
Issue {
iface: ClientEnd<EchoMarker>,
request: Option<String>,
responder: ConscriptIssueResponder,
},
}
Variants§
Implementations§
source§impl ConscriptRequest
impl ConscriptRequest
pub fn into_serve( self ) -> Option<(ServerEnd<EchoMarker>, ConscriptControlHandle)>
pub fn into_issue( self ) -> Option<(ClientEnd<EchoMarker>, Option<String>, ConscriptIssueResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL