pub struct FileMetadataFactory;Expand description
Factory for the file.metadata planner.
Trait Implementations§
Source§impl PlannerFactory for FileMetadataFactory
impl PlannerFactory for FileMetadataFactory
Source§fn descriptor(&self) -> &'static PlannerDescriptor
fn descriptor(&self) -> &'static PlannerDescriptor
This planner’s static description.
Source§fn compile(
&self,
config: &PlannerConfig,
context: &CompileContext<'_>,
) -> Result<Box<dyn CompiledPlanner>, DiagnosticBag>
fn compile( &self, config: &PlannerConfig, context: &CompileContext<'_>, ) -> Result<Box<dyn CompiledPlanner>, DiagnosticBag>
Validate
config and build a runtime planner, or return a
DiagnosticBag describing every problem found.Auto Trait Implementations§
impl Freeze for FileMetadataFactory
impl RefUnwindSafe for FileMetadataFactory
impl Send for FileMetadataFactory
impl Sync for FileMetadataFactory
impl Unpin for FileMetadataFactory
impl UnsafeUnpin for FileMetadataFactory
impl UnwindSafe for FileMetadataFactory
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more