Enum pjs_rs::ReturnValue
source · pub enum ReturnValue {
Deserialized(Value),
CantDeserialize(String),
}
Expand description
Js script return value, mapping types that can be deserialized as serde_json::Value or not, for the latest an string is returned witht the error message.
Variants§
Trait Implementations§
source§impl Debug for ReturnValue
impl Debug for ReturnValue
source§impl PartialEq for ReturnValue
impl PartialEq for ReturnValue
source§fn eq(&self, other: &ReturnValue) -> bool
fn eq(&self, other: &ReturnValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReturnValue
Auto Trait Implementations§
impl RefUnwindSafe for ReturnValue
impl Send for ReturnValue
impl Sync for ReturnValue
impl Unpin for ReturnValue
impl UnwindSafe for ReturnValue
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