Skip to main content

OperationContextMetaExt

Trait OperationContextMetaExt 

Source
pub trait OperationContextMetaExt: Sized {
    // Required methods
    fn with_meta_value<M: MetaValue>(self, value: M) -> Self;
    fn with_file_path(self, path: &Path) -> Self;
    fn with_dir_path(self, path: &Path) -> Self;
    fn with_resource_path(self, path: &Path) -> Self;
    fn with_network_url(self, url: impl Into<String>) -> Self;
    fn with_component_name(self, name: impl Into<String>) -> Self;
    fn with_config_type_name(self, name: impl Into<String>) -> Self;
    fn with_config_section(self, section: impl Into<String>) -> Self;
}

Required Methods§

Source

fn with_meta_value<M: MetaValue>(self, value: M) -> Self

Source

fn with_file_path(self, path: &Path) -> Self

Source

fn with_dir_path(self, path: &Path) -> Self

Source

fn with_resource_path(self, path: &Path) -> Self

Source

fn with_network_url(self, url: impl Into<String>) -> Self

Source

fn with_component_name(self, name: impl Into<String>) -> Self

Source

fn with_config_type_name(self, name: impl Into<String>) -> Self

Source

fn with_config_section(self, section: impl Into<String>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OperationContextMetaExt for OperationContext

Source§

fn with_meta_value<M: MetaValue>(self, value: M) -> Self

Source§

fn with_file_path(self, path: &Path) -> Self

Source§

fn with_dir_path(self, path: &Path) -> Self

Source§

fn with_resource_path(self, path: &Path) -> Self

Source§

fn with_network_url(self, url: impl Into<String>) -> Self

Source§

fn with_component_name(self, name: impl Into<String>) -> Self

Source§

fn with_config_type_name(self, name: impl Into<String>) -> Self

Source§

fn with_config_section(self, section: impl Into<String>) -> Self

Implementors§