pub struct MediaServer {
port: u16,
token: String,
}Expand description
A running server. Dropping this does not stop the thread; the server lives for the life of the process by design, since playback can start at any time.
Fields§
§port: u16§token: StringImplementations§
Auto Trait Implementations§
impl Freeze for MediaServer
impl RefUnwindSafe for MediaServer
impl Send for MediaServer
impl Sync for MediaServer
impl Unpin for MediaServer
impl UnsafeUnpin for MediaServer
impl UnwindSafe for MediaServer
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