pub enum RemoteReference {
SharedReference(SharedReference),
RemoteObjectReference(RemoteObjectReference),
}Variants§
RemoteObjectReference(RemoteObjectReference)
Trait Implementations§
Source§impl Clone for RemoteReference
impl Clone for RemoteReference
Source§fn clone(&self) -> RemoteReference
fn clone(&self) -> RemoteReference
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 RemoteReference
impl Debug for RemoteReference
Source§impl<'de> Deserialize<'de> for RemoteReference
impl<'de> Deserialize<'de> for RemoteReference
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
Source§impl From<RemoteObjectReference> for RemoteReference
impl From<RemoteObjectReference> for RemoteReference
Source§fn from(v: RemoteObjectReference) -> Self
fn from(v: RemoteObjectReference) -> Self
Converts to this type from the input type.
Source§impl From<RemoteReference> for LocalValue
impl From<RemoteReference> for LocalValue
Source§fn from(v: RemoteReference) -> Self
fn from(v: RemoteReference) -> Self
Converts to this type from the input type.
Source§fn from(v: SharedReference) -> Self
fn from(v: SharedReference) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoteReference
impl PartialEq for RemoteReference
Source§impl Serialize for RemoteReference
impl Serialize for RemoteReference
Source§impl TryFrom<LocalValue> for RemoteReference
impl TryFrom<LocalValue> for RemoteReference
Source§type Error = LocalValue
type Error = LocalValue
The type returned in the event of a conversion error.
Source§impl TryFrom<RemoteReference> for RemoteObjectReference
impl TryFrom<RemoteReference> for RemoteObjectReference
Source§type Error = RemoteReference
type Error = RemoteReference
The type returned in the event of a conversion error.
Source§type Error = RemoteReference
type Error = RemoteReference
The type returned in the event of a conversion error.
impl StructuralPartialEq for RemoteReference
Auto Trait Implementations§
impl Freeze for RemoteReference
impl RefUnwindSafe for RemoteReference
impl Send for RemoteReference
impl Sync for RemoteReference
impl Unpin for RemoteReference
impl UnsafeUnpin for RemoteReference
impl UnwindSafe for RemoteReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more