pub struct MediaServerWrapper(pub Option<MediaServer>);Expand description
Managed state. None when the server could not bind — local playback then
fails with a clear error instead of the app refusing to start.
Tuple Fields§
§0: Option<MediaServer>Auto Trait Implementations§
impl Freeze for MediaServerWrapper
impl RefUnwindSafe for MediaServerWrapper
impl Send for MediaServerWrapper
impl Sync for MediaServerWrapper
impl Unpin for MediaServerWrapper
impl UnsafeUnpin for MediaServerWrapper
impl UnwindSafe for MediaServerWrapper
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