pub enum SessionObserverRequest {
WatchStatus {
responder: SessionObserverWatchStatusResponder,
},
}
Expand description
Views a media session’s status.
The channel will close if the media session is stopped.
Variants§
WatchStatus
Watches the session status. Leave a request hanging to receive a reply when the session status changes. The first request will be answered immediately with the current state.
Fields
§
responder: SessionObserverWatchStatusResponder
Implementations§
Source§impl SessionObserverRequest
impl SessionObserverRequest
pub fn into_watch_status(self) -> Option<SessionObserverWatchStatusResponder>
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 SessionObserverRequest
impl !RefUnwindSafe for SessionObserverRequest
impl Send for SessionObserverRequest
impl Sync for SessionObserverRequest
impl Unpin for SessionObserverRequest
impl !UnwindSafe for SessionObserverRequest
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