pub struct AudioRecordingControlPutInputAudioResponder { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Drop for AudioRecordingControlPutInputAudioResponder
impl Drop for AudioRecordingControlPutInputAudioResponder
Set the the channel to be shutdown (see AudioRecordingControlControlHandle::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 AudioRecordingControlPutInputAudioResponder
impl Responder for AudioRecordingControlPutInputAudioResponder
Source§type ControlHandle = AudioRecordingControlControlHandle
type ControlHandle = AudioRecordingControlControlHandle
The control handle for this protocol.
Source§fn control_handle(&self) -> &AudioRecordingControlControlHandle
fn control_handle(&self) -> &AudioRecordingControlControlHandle
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 AudioRecordingControlPutInputAudioResponder
impl !RefUnwindSafe for AudioRecordingControlPutInputAudioResponder
impl Send for AudioRecordingControlPutInputAudioResponder
impl Sync for AudioRecordingControlPutInputAudioResponder
impl Unpin for AudioRecordingControlPutInputAudioResponder
impl !UnwindSafe for AudioRecordingControlPutInputAudioResponder
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