Lines Matching refs:CmdError
25 pub enum CmdError { enum
52 Error(CmdError),
58 VideoError::InvalidResourceId { .. } => CmdError::InvalidResourceId, in from()
59 VideoError::InvalidStreamId(_) => CmdError::InvalidStreamId, in from()
60 VideoError::InvalidParameter => CmdError::InvalidParameter, in from()
61 VideoError::UnsupportedControl(_) => CmdError::UnsupportedControl, in from()
62 _ => CmdError::InvalidOperation, in from()
85 CmdError::InvalidResourceId => VIRTIO_VIDEO_RESP_ERR_INVALID_RESOURCE_ID, in write()
86 CmdError::InvalidStreamId => VIRTIO_VIDEO_RESP_ERR_INVALID_STREAM_ID, in write()
87 CmdError::InvalidParameter => VIRTIO_VIDEO_RESP_ERR_INVALID_PARAMETER, in write()
88 CmdError::InvalidOperation => VIRTIO_VIDEO_RESP_ERR_INVALID_OPERATION, in write()
89 CmdError::UnsupportedControl => VIRTIO_VIDEO_RESP_ERR_UNSUPPORTED_CONTROL, in write()