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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConscriptRequest
impl !RefUnwindSafe for ConscriptRequest
impl Send for ConscriptRequest
impl Sync for ConscriptRequest
impl Unpin for ConscriptRequest
impl !UnwindSafe for ConscriptRequest
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