#[repr(C, u8)]pub enum ResultJsonJsonParseError {
Ok(Json),
Err(JsonParseError),
}Variants§
Ok(Json)
Err(JsonParseError)
Implementations§
Source§impl ResultJsonJsonParseError
impl ResultJsonJsonParseError
pub fn into_result(&self) -> Result<Json, JsonParseError>
Trait Implementations§
Source§impl Clone for ResultJsonJsonParseError
impl Clone for ResultJsonJsonParseError
Source§fn clone(&self) -> ResultJsonJsonParseError
fn clone(&self) -> ResultJsonJsonParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResultJsonJsonParseError
impl Debug for ResultJsonJsonParseError
Source§impl From<Result<Json, JsonParseError>> for ResultJsonJsonParseError
impl From<Result<Json, JsonParseError>> for ResultJsonJsonParseError
Source§fn from(o: Result<Json, JsonParseError>) -> ResultJsonJsonParseError
fn from(o: Result<Json, JsonParseError>) -> ResultJsonJsonParseError
Converts to this type from the input type.
Source§impl From<ResultJsonJsonParseError> for Result<Json, JsonParseError>
impl From<ResultJsonJsonParseError> for Result<Json, JsonParseError>
Source§fn from(o: ResultJsonJsonParseError) -> Result<Json, JsonParseError>
fn from(o: ResultJsonJsonParseError) -> Result<Json, JsonParseError>
Converts to this type from the input type.
Source§impl PartialEq for ResultJsonJsonParseError
impl PartialEq for ResultJsonJsonParseError
Source§fn eq(&self, other: &ResultJsonJsonParseError) -> bool
fn eq(&self, other: &ResultJsonJsonParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResultJsonJsonParseError
Auto Trait Implementations§
impl Freeze for ResultJsonJsonParseError
impl RefUnwindSafe for ResultJsonJsonParseError
impl Send for ResultJsonJsonParseError
impl Sync for ResultJsonJsonParseError
impl Unpin for ResultJsonJsonParseError
impl UnsafeUnpin for ResultJsonJsonParseError
impl UnwindSafe for ResultJsonJsonParseError
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