[−][src]Struct af_lib::prelude::af_core::test::prelude::json::de::SliceRead
JSON input source that reads from a slice of bytes.
Implementations
impl<'a> SliceRead<'a>
[src]
pub fn new(slice: &'a [u8]) -> SliceRead<'a>
[src]
Create a JSON input source to read from a slice of bytes.
Trait Implementations
impl<'a> Read<'a> for SliceRead<'a>
[src]
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, Global>
) -> Result<Reference<'a, 's, str>, Error>
[src]
&'s mut self,
scratch: &'s mut Vec<u8, Global>
) -> Result<Reference<'a, 's, str>, Error>
pub fn parse_str_raw(
&'s mut self,
scratch: &'s mut Vec<u8, Global>
) -> Result<Reference<'a, 's, [u8]>, Error>
[src]
&'s mut self,
scratch: &'s mut Vec<u8, Global>
) -> Result<Reference<'a, '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<'a> RefUnwindSafe for SliceRead<'a>
[src]
impl<'a> Send for SliceRead<'a>
[src]
impl<'a> Sync for SliceRead<'a>
[src]
impl<'a> Unpin for SliceRead<'a>
[src]
impl<'a> UnwindSafe for SliceRead<'a>
[src]
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,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut R
impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,