pub enum ErrorCode {
Show 14 variants
MpvError(String),
JsonParseError(String),
ConnectError(String),
JsonContainsUnexptectedType,
UnexpectedResult,
UnexpectedValue,
MissingValue,
UnsupportedType,
ValueDoesNotContainBool,
ValueDoesNotContainF64,
ValueDoesNotContainHashMap,
ValueDoesNotContainPlaylist,
ValueDoesNotContainString,
ValueDoesNotContainUsize,
}
Variants§
MpvError(String)
JsonParseError(String)
ConnectError(String)
JsonContainsUnexptectedType
UnexpectedResult
UnexpectedValue
MissingValue
UnsupportedType
ValueDoesNotContainBool
ValueDoesNotContainF64
ValueDoesNotContainHashMap
ValueDoesNotContainPlaylist
ValueDoesNotContainString
ValueDoesNotContainUsize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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