Struct partiql_extension_ion::decode::IonDecoderBuilder
source · pub struct IonDecoderBuilder { /* private fields */ }
Expand description
Builder for creating a decoder.
Implementations§
source§impl IonDecoderBuilder
impl IonDecoderBuilder
sourcepub fn new(config: IonDecoderConfig) -> Self
pub fn new(config: IonDecoderConfig) -> Self
Create the builder from ‘config’
sourcepub fn build<'a>(
self,
reader: impl 'a + IonReader<Item = StreamItem, Symbol = Symbol>
) -> Result<IonValueIter<'a>, IonDecodeError>
pub fn build<'a>( self, reader: impl 'a + IonReader<Item = StreamItem, Symbol = Symbol> ) -> Result<IonValueIter<'a>, IonDecodeError>
Create a decoder given the previously specified config and an ion [Reader
].
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IonDecoderBuilder
impl Send for IonDecoderBuilder
impl Sync for IonDecoderBuilder
impl Unpin for IonDecoderBuilder
impl UnwindSafe for IonDecoderBuilder
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