pub(crate) struct TomlSink<'i, S> {
source: Source<'i>,
input: Option<Arc<str>>,
sink: S,
}Fields§
§source: Source<'i>§input: Option<Arc<str>>§sink: SImplementations§
Trait Implementations§
Source§impl<'i> ErrorSink for TomlSink<'i, Option<TomlError>>
impl<'i> ErrorSink for TomlSink<'i, Option<TomlError>>
fn report_error(&mut self, error: ParseError)
Source§impl<'i> ErrorSink for TomlSink<'i, Vec<TomlError>>
impl<'i> ErrorSink for TomlSink<'i, Vec<TomlError>>
fn report_error(&mut self, error: ParseError)
Auto Trait Implementations§
impl<'i, S> Freeze for TomlSink<'i, S>where
S: Freeze,
impl<'i, S> RefUnwindSafe for TomlSink<'i, S>where
S: RefUnwindSafe,
impl<'i, S> Send for TomlSink<'i, S>where
S: Send,
impl<'i, S> Sync for TomlSink<'i, S>where
S: Sync,
impl<'i, S> Unpin for TomlSink<'i, S>where
S: Unpin,
impl<'i, S> UnwindSafe for TomlSink<'i, S>where
S: 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