Enum webxr_api::registry::RegistryMsg
source · enum RegistryMsg {
RequestSession(SessionMode, SessionInit, Sender<Result<Session, Error>>, Sender<Frame>),
SupportsSession(SessionMode, Sender<Result<(), Error>>),
SimulateDeviceConnection(MockDeviceInit, Sender<Result<Sender<MockDeviceMsg>, Error>>),
}
Variants§
RequestSession(SessionMode, SessionInit, Sender<Result<Session, Error>>, Sender<Frame>)
SupportsSession(SessionMode, Sender<Result<(), Error>>)
SimulateDeviceConnection(MockDeviceInit, Sender<Result<Sender<MockDeviceMsg>, Error>>)
Trait Implementations§
source§impl<'de> Deserialize<'de> for RegistryMsg
impl<'de> Deserialize<'de> for RegistryMsg
source§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
Auto Trait Implementations§
impl Freeze for RegistryMsg
impl !RefUnwindSafe for RegistryMsg
impl Send for RegistryMsg
impl !Sync for RegistryMsg
impl Unpin for RegistryMsg
impl UnwindSafe for RegistryMsg
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