pub struct AudioModeSetRoleResponder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for AudioModeSetRoleResponder
impl Debug for AudioModeSetRoleResponder
Source§impl Drop for AudioModeSetRoleResponder
impl Drop for AudioModeSetRoleResponder
Set the the channel to be shutdown (see AudioModeControlHandle::shutdown
)
if the responder is dropped without sending a response, so that the client
doesn’t hang. To prevent this behavior, call drop_without_shutdown
.
Source§impl Responder for AudioModeSetRoleResponder
impl Responder for AudioModeSetRoleResponder
Source§type ControlHandle = AudioModeControlHandle
type ControlHandle = AudioModeControlHandle
The control handle for this protocol.
Source§fn control_handle(&self) -> &AudioModeControlHandle
fn control_handle(&self) -> &AudioModeControlHandle
Returns the
ControlHandle
for this protocol.Source§fn drop_without_shutdown(self)
fn drop_without_shutdown(self)
Drops the responder without setting the channel to shutdown. Read more
Auto Trait Implementations§
impl Freeze for AudioModeSetRoleResponder
impl !RefUnwindSafe for AudioModeSetRoleResponder
impl Send for AudioModeSetRoleResponder
impl Sync for AudioModeSetRoleResponder
impl Unpin for AudioModeSetRoleResponder
impl !UnwindSafe for AudioModeSetRoleResponder
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