pub enum CallbacksRequest {
Request {
addr: Addr,
control_handle: CallbacksControlHandle,
},
Response {
addr: Addr,
control_handle: CallbacksControlHandle,
},
Rst {
addr: Addr,
control_handle: CallbacksControlHandle,
},
Shutdown {
addr: Addr,
control_handle: CallbacksControlHandle,
},
TransportReset {
new_cid: u32,
responder: CallbacksTransportResetResponder,
},
}
Variants§
Implementations§
Source§impl CallbacksRequest
impl CallbacksRequest
pub fn into_request(self) -> Option<(Addr, CallbacksControlHandle)>
pub fn into_response(self) -> Option<(Addr, CallbacksControlHandle)>
pub fn into_rst(self) -> Option<(Addr, CallbacksControlHandle)>
pub fn into_shutdown(self) -> Option<(Addr, CallbacksControlHandle)>
pub fn into_transport_reset( self, ) -> Option<(u32, CallbacksTransportResetResponder)>
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 CallbacksRequest
impl !RefUnwindSafe for CallbacksRequest
impl Send for CallbacksRequest
impl Sync for CallbacksRequest
impl Unpin for CallbacksRequest
impl !UnwindSafe for CallbacksRequest
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