Struct StrRead
struct StrRead<'a> { ... }
JSON input source that reads from a UTF-8 string.
Implementations
impl<'a> StrRead<'a>
fn new(s: &'a str) -> SelfCreate a JSON input source to read from a UTF-8 string.
impl<'a> Freeze for StrRead<'a>
impl<'a> Read for StrRead<'a>
impl<'a> RefUnwindSafe for StrRead<'a>
impl<'a> Send for StrRead<'a>
impl<'a> Sync for StrRead<'a>
impl<'a> Unpin for StrRead<'a>
impl<'a> UnsafeUnpin for StrRead<'a>
impl<'a> UnwindSafe for StrRead<'a>
impl<T> Any for StrRead<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for StrRead<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for StrRead<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for StrRead<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for StrRead<'a>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for StrRead<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for StrRead<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>