pub enum SandboxProxyMessage {
SandboxReady {
resource_uri: String,
},
SandboxResourceReady {
resource_uri: String,
html: String,
},
}Expand description
Sandbox proxy messages (for web hosts)
Variants§
SandboxReady
Host notifies UI that sandbox is ready
SandboxResourceReady
Host provides resource HTML to sandbox
Trait Implementations§
Source§impl Clone for SandboxProxyMessage
impl Clone for SandboxProxyMessage
Source§fn clone(&self) -> SandboxProxyMessage
fn clone(&self) -> SandboxProxyMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxProxyMessage
impl Debug for SandboxProxyMessage
Source§impl<'de> Deserialize<'de> for SandboxProxyMessage
impl<'de> Deserialize<'de> for SandboxProxyMessage
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 SandboxProxyMessage
impl RefUnwindSafe for SandboxProxyMessage
impl Send for SandboxProxyMessage
impl Sync for SandboxProxyMessage
impl Unpin for SandboxProxyMessage
impl UnwindSafe for SandboxProxyMessage
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