pub struct DecoderBuilder<R = (), B = ()> { /* private fields */ }
Implementations§
Source§impl DecoderBuilder<(), ()>
impl DecoderBuilder<(), ()>
Source§impl<R> DecoderBuilder<(R,), ()>
impl<R> DecoderBuilder<(R,), ()>
Source§impl<B> DecoderBuilder<(), (B,)>
impl<B> DecoderBuilder<(), (B,)>
Source§impl<B> DecoderBuilder<(), B>
impl<B> DecoderBuilder<(), B>
pub fn with_reader<R>(self, reader: R) -> DecoderBuilder<(R,), B>where
R: ReadSimple,
Source§impl<R> DecoderBuilder<R, ()>
impl<R> DecoderBuilder<R, ()>
pub fn with_buffer<B>(self, buf: B) -> DecoderBuilder<R, (B,)>
pub fn with_stack_buffer<const SIZE: usize>( self, ) -> DecoderBuilder<R, ([u8; SIZE],)>
pub fn with_heap_buffer(self, size: usize) -> DecoderBuilder<R, (Vec<u8>,)>
Trait Implementations§
Auto Trait Implementations§
impl<R, B> Freeze for DecoderBuilder<R, B>
impl<R, B> RefUnwindSafe for DecoderBuilder<R, B>where
R: RefUnwindSafe,
B: RefUnwindSafe,
impl<R, B> Send for DecoderBuilder<R, B>
impl<R, B> Sync for DecoderBuilder<R, B>
impl<R, B> Unpin for DecoderBuilder<R, B>
impl<R, B> UnwindSafe for DecoderBuilder<R, B>where
R: UnwindSafe,
B: 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