pub trait Composer {
// Required methods
fn check_document(&self) -> bool;
fn compose_document(&mut self) -> Result<Option<Value>>;
fn position(&self) -> Position;
fn reset(&mut self);
}Expand description
Trait for YAML composers that convert event streams to node structures
Required Methods§
Sourcefn check_document(&self) -> bool
fn check_document(&self) -> bool
Check if there are more documents available