Struct chrome_remote_interface_model::media::PlayerError [−][src]
This is supported on crate features
experimental
and Media
only.Corresponds to kMediaError
Implementations
impl PlayerError
[src]
pub fn new(type: PlayerErrorType, error_code: String) -> Self
[src]
pub fn type(&self) -> &PlayerErrorType
[src]
pub fn error_code(&self) -> &str
[src]
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)
Trait Implementations
impl Clone for PlayerError
[src]
fn clone(&self) -> PlayerError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PlayerError
[src]
impl<'de> Deserialize<'de> for PlayerError
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for PlayerError
[src]
Auto Trait Implementations
impl RefUnwindSafe for PlayerError
[src]
impl Send for PlayerError
[src]
impl Sync for PlayerError
[src]
impl Unpin for PlayerError
[src]
impl UnwindSafe for PlayerError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,