pub enum RemoteObjectType {
Object,
Function,
Undefined,
String,
Number,
Boolean,
Symbol,
Bigint,
Unrecognized(String),
}Expand description
The values type accepts on RemoteObject.
Variants§
Object
object
Function
function
Undefined
undefined
String
string
Number
number
Boolean
boolean
Symbol
symbol
Bigint
bigint
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for RemoteObjectType
impl Clone for RemoteObjectType
Source§impl Debug for RemoteObjectType
impl Debug for RemoteObjectType
Source§impl<'de> Deserialize<'de> for RemoteObjectType
impl<'de> Deserialize<'de> for RemoteObjectType
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
impl Eq for RemoteObjectType
Source§impl Hash for RemoteObjectType
impl Hash for RemoteObjectType
Source§impl PartialEq for RemoteObjectType
impl PartialEq for RemoteObjectType
Source§impl Serialize for RemoteObjectType
impl Serialize for RemoteObjectType
impl StructuralPartialEq for RemoteObjectType
Auto Trait Implementations§
impl Forget for RemoteObjectType
impl Freeze for RemoteObjectType
impl RefUnwindSafe for RemoteObjectType
impl Send for RemoteObjectType
impl Sync for RemoteObjectType
impl Unpin for RemoteObjectType
impl UnsafeUnpin for RemoteObjectType
impl UnwindSafe for RemoteObjectType
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