Struct chromiumoxide_cdp::cdp::browser_protocol::media::PlayerError [−][src]
pub struct PlayerError { pub type: PlayerErrorType, pub error_code: String, }
Expand description
Corresponds to kMediaError PlayerError
Fields
type: PlayerErrorType
error_code: String
When this switches to using media::Status instead of PipelineStatus we can remove “errorCode” and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454)
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PlayerError
impl Send for PlayerError
impl Sync for PlayerError
impl Unpin for PlayerError
impl UnwindSafe for PlayerError
Blanket Implementations
Mutably borrows from an owned value. Read more