pub enum CallbackRequest {
NewLink {
socket: Socket,
responder: CallbackNewLinkResponder,
},
}
Variants§
NewLink
Implementations§
Source§impl CallbackRequest
impl CallbackRequest
pub fn into_new_link(self) -> Option<(Socket, CallbackNewLinkResponder)>
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 CallbackRequest
impl !RefUnwindSafe for CallbackRequest
impl Send for CallbackRequest
impl Sync for CallbackRequest
impl Unpin for CallbackRequest
impl !UnwindSafe for CallbackRequest
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