[−][src]Struct geng::prelude::serde_json::de::IoRead
JSON input source that reads from a std::io input stream.
Implementations
impl<R> IoRead<R> where
R: Read,
[src]
R: Read,
pub fn new(reader: R) -> IoRead<R>
[src]
Create a JSON input source to read from a std::io input stream.
Trait Implementations
impl<'de, R> Read<'de> for IoRead<R> where
R: Read,
[src]
R: Read,
pub fn next(&mut self) -> Result<Option<u8>, Error>
[src]
pub fn peek(&mut self) -> Result<Option<u8>, Error>
[src]
pub fn discard(&mut self)
[src]
pub fn position(&self) -> Position
[src]
pub fn peek_position(&self) -> Position
[src]
pub fn byte_offset(&self) -> usize
[src]
pub fn parse_str(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'de, 's, str>, Error>
[src]
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'de, 's, str>, Error>
pub fn parse_str_raw(
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'de, 's, [u8]>, Error>
[src]
&'s mut self,
scratch: &'s mut Vec<u8>
) -> Result<Reference<'de, 's, [u8]>, Error>
pub fn ignore_str(&mut self) -> Result<(), Error>
[src]
pub fn decode_hex_escape(&mut self) -> Result<u16, Error>
[src]
pub const should_early_return_if_failed: bool
[src]
pub fn set_failed(&mut self, failed: &mut bool)
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for IoRead<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for IoRead<R> where
R: Send,
R: Send,
impl<R> Sync for IoRead<R> where
R: Sync,
R: Sync,
impl<R> Unpin for IoRead<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for IoRead<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a Tⓘ
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tⓘ
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,