pub struct StringBuffer<I>{
    pub done: bool,
    pub position: usize,
    /* private fields */
}Fields§
§done: bool§position: usizeImplementations§
Source§impl<I> StringBuffer<I>
 
impl<I> StringBuffer<I>
pub fn new(stream: I, min_buffer_size: usize) -> Self
pub fn fill(&mut self)
pub fn fill_no_compact(&mut self)
pub fn buffer(&self) -> &String
pub fn compact_to(&mut self, byte_position: usize)
pub fn set_position(&mut self, position: usize)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<I> Freeze for StringBuffer<I>where
    I: Freeze,
impl<I> RefUnwindSafe for StringBuffer<I>where
    I: RefUnwindSafe,
impl<I> Send for StringBuffer<I>where
    I: Send,
impl<I> Sync for StringBuffer<I>where
    I: Sync,
impl<I> Unpin for StringBuffer<I>where
    I: Unpin,
impl<I> UnwindSafe for StringBuffer<I>where
    I: UnwindSafe,
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
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more