pub enum TransportState {
Stopped,
Playing,
PausedPlayback,
Transitioning,
Unspecified(String),
}Variants§
Stopped
Playing
PausedPlayback
Transitioning
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for TransportState
impl Clone for TransportState
Source§fn clone(&self) -> TransportState
fn clone(&self) -> TransportState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransportState
impl Debug for TransportState
Source§impl Default for TransportState
impl Default for TransportState
Source§fn default() -> TransportState
fn default() -> TransportState
Returns the “default value” for a type. Read more
Source§impl FromStr for TransportState
impl FromStr for TransportState
Source§impl<'xml> FromXml<'xml> for TransportState
impl<'xml> FromXml<'xml> for TransportState
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<TransportState>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for TransportState
impl PartialEq for TransportState
Source§impl ToString for TransportState
impl ToString for TransportState
Source§impl ToXml for TransportState
impl ToXml for TransportState
impl Eq for TransportState
impl StructuralPartialEq for TransportState
Auto Trait Implementations§
impl Freeze for TransportState
impl RefUnwindSafe for TransportState
impl Send for TransportState
impl Sync for TransportState
impl Unpin for TransportState
impl UnwindSafe for TransportState
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