mirror of
https://github.com/servo/servo
synced 2026-05-11 01:22:19 +02:00
webxr/webxr-api have the feature flag "ipc". This is required by important crates such as script and canvas. The only distinction was made in servo which does not use the IPC for android/ohos but because servo depends on script, this was essentially useless. This PR removes the feature flag and cleans up the code related to it. Testing: Compilation is the test. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
20 lines
536 B
Rust
20 lines
536 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
/// Errors that can be produced by XR.
|
|
|
|
// TODO: this is currently incomplete!
|
|
|
|
#[derive(Debug, Serialize, Deserialize)]
|
|
pub enum Error {
|
|
NoMatchingDevice,
|
|
CommunicationError,
|
|
ThreadCreationError,
|
|
InlineSession,
|
|
UnsupportedFeature(String),
|
|
BackendSpecific(String),
|
|
}
|