pub struct PlanWriter<'a, E: ErrorAccumulator + Default> {
options: &'a OutputOptions,
extensions: SimpleExtensions,
relations: &'a [PlanRel],
errors: E,
}
Fields§
§options: &'a OutputOptions
§extensions: SimpleExtensions
§relations: &'a [PlanRel]
§errors: E
Implementations§
Source§impl<'a, E: ErrorAccumulator + Default + Clone> PlanWriter<'a, E>
impl<'a, E: ErrorAccumulator + Default + Clone> PlanWriter<'a, E>
pub fn new(options: &'a OutputOptions, plan: &'a Plan) -> (Self, E)
pub fn scope(&'a self) -> ScopedContext<'a, E>
pub fn write_extensions(&self, w: &mut impl Write) -> Result
pub fn write_relations(&self, w: &mut impl Write) -> Result
Trait Implementations§
Source§impl<'a, E: Clone + ErrorAccumulator + Default> Clone for PlanWriter<'a, E>
impl<'a, E: Clone + ErrorAccumulator + Default> Clone for PlanWriter<'a, E>
Source§fn clone(&self) -> PlanWriter<'a, E>
fn clone(&self) -> PlanWriter<'a, E>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, E: Debug + ErrorAccumulator + Default> Debug for PlanWriter<'a, E>
impl<'a, E: Debug + ErrorAccumulator + Default> Debug for PlanWriter<'a, E>
Auto Trait Implementations§
impl<'a, E> Freeze for PlanWriter<'a, E>where
E: Freeze,
impl<'a, E> RefUnwindSafe for PlanWriter<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for PlanWriter<'a, E>where
E: Send,
impl<'a, E> Sync for PlanWriter<'a, E>where
E: Sync,
impl<'a, E> Unpin for PlanWriter<'a, E>where
E: Unpin,
impl<'a, E> UnwindSafe for PlanWriter<'a, E>where
E: 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