Skip to main content

ConfigError

Enum ConfigError 

Source
pub enum ConfigError {
Show 29 variants PipelineConfigParseError { error: String, }, ParserConfigParseError { endpoint_name: String, error: String, config: String, }, EncoderConfigParseError { endpoint_name: String, error: String, config: String, }, DuplicateInputEndpoint { endpoint_name: String, }, DuplicateInputStream { stream_name: String, }, DuplicateOutputEndpoint { endpoint_name: String, }, DuplicateOutputStream { stream_name: String, }, UnknownInputFormat { endpoint_name: String, format_name: String, }, UnknownOutputFormat { endpoint_name: String, format_name: String, }, UnknownInputTransport { endpoint_name: String, transport_name: String, }, UnknownOutputTransport { endpoint_name: String, transport_name: String, }, UnknownInputStream { endpoint_name: String, stream_name: String, }, UnknownOutputStream { endpoint_name: String, stream_name: String, }, UnknownIndex { endpoint_name: String, index_name: String, }, NotAnIndex { endpoint_name: String, index_name: String, }, InputFormatNotSupported { endpoint_name: String, error: String, }, OutputFormatNotSupported { endpoint_name: String, error: String, }, InputFormatNotSpecified { endpoint_name: String, }, OutputFormatNotSpecified { endpoint_name: String, }, InvalidEncoderConfig { endpoint_name: String, error: String, }, InvalidParserConfig { endpoint_name: String, error: String, }, InvalidTransportConfig { endpoint_name: String, error: String, }, InvalidOutputBufferConfig { endpoint_name: String, error: String, }, CyclicDependency { cycle: Vec<(String, String)>, }, EmptyStartAfter { endpoint_name: String, }, FtRequiresStorage, FtRequiresFtInput, DatafusionMemoryExceedsBudget { datafusion_memory_mb: u64, max_rss_mb: u64, }, InvalidLayout(LayoutError),
}
Expand description

Controller configuration error.

Variants§

§

PipelineConfigParseError

Failed to parse pipeline configuration.

Fields

§error: String
§

ParserConfigParseError

Failed to parse parser configuration for an endpoint.

Fields

§endpoint_name: String
§error: String
§config: String
§

EncoderConfigParseError

Failed to parse encoder configuration for an endpoint.

Fields

§endpoint_name: String
§error: String
§config: String
§

DuplicateInputEndpoint

Input endpoint with this name already exists.

Fields

§endpoint_name: String
§

DuplicateInputStream

Input table with this name already exists.

Fields

§stream_name: String
§

DuplicateOutputEndpoint

Output endpoint with this name already exists.

Fields

§endpoint_name: String
§

DuplicateOutputStream

Output view with this name already exists.

Fields

§stream_name: String
§

UnknownInputFormat

Endpoint configuration specifies unknown input format name.

Fields

§endpoint_name: String
§format_name: String
§

UnknownOutputFormat

Endpoint configuration specifies unknown output format name.

Fields

§endpoint_name: String
§format_name: String
§

UnknownInputTransport

Endpoint configuration specifies unknown input transport name.

Fields

§endpoint_name: String
§transport_name: String
§

UnknownOutputTransport

Endpoint configuration specifies unknown output transport name.

Fields

§endpoint_name: String
§transport_name: String
§

UnknownInputStream

Endpoint configuration specifies an input stream name that is not found in the circuit catalog.

Fields

§endpoint_name: String
§stream_name: String
§

UnknownOutputStream

Endpoint configuration specifies an output stream name that is not found in the circuit catalog.

Fields

§endpoint_name: String
§stream_name: String
§

UnknownIndex

Endpoint configuration specifies an index name that is not found in the circuit catalog.

Fields

§endpoint_name: String
§index_name: String
§

NotAnIndex

Fields

§endpoint_name: String
§index_name: String
§

InputFormatNotSupported

Fields

§endpoint_name: String
§error: String
§

OutputFormatNotSupported

Fields

§endpoint_name: String
§error: String
§

InputFormatNotSpecified

Fields

§endpoint_name: String
§

OutputFormatNotSpecified

Fields

§endpoint_name: String
§

InvalidEncoderConfig

Fields

§endpoint_name: String
§error: String
§

InvalidParserConfig

Fields

§endpoint_name: String
§error: String
§

InvalidTransportConfig

Fields

§endpoint_name: String
§error: String
§

InvalidOutputBufferConfig

Fields

§endpoint_name: String
§error: String
§

CyclicDependency

Fields

§cycle: Vec<(String, String)>
§

EmptyStartAfter

Fields

§endpoint_name: String
§

FtRequiresStorage

§

FtRequiresFtInput

§

DatafusionMemoryExceedsBudget

datafusion_memory_mb was set to a value greater than or equal to the pipeline’s effective memory budget, which would leave no memory for the DBSP circuit.

Fields

§datafusion_memory_mb: u64
§max_rss_mb: u64
§

InvalidLayout(LayoutError)

Implementations§

Source§

impl ConfigError

Source

pub fn pipeline_config_parse_error<E>(error: &E) -> Self
where E: ToString,

Source

pub fn parser_config_parse_error<E>( endpoint_name: &str, error: &E, config: &str, ) -> Self
where E: ToString,

Source

pub fn encoder_config_parse_error<E>( endpoint_name: &str, error: &E, config: &str, ) -> Self
where E: ToString,

Source

pub fn duplicate_input_endpoint(endpoint_name: &str) -> Self

Source

pub fn duplicate_input_stream(stream_name: &str) -> Self

Source

pub fn unknown_input_format(endpoint_name: &str, format_name: &str) -> Self

Source

pub fn unknown_input_transport( endpoint_name: &str, transport_name: &str, ) -> Self

Source

pub fn duplicate_output_endpoint(endpoint_name: &str) -> Self

Source

pub fn duplicate_output_stream(stream_name: &str) -> Self

Source

pub fn unknown_output_format(endpoint_name: &str, format_name: &str) -> Self

Source

pub fn unknown_output_transport( endpoint_name: &str, transport_name: &str, ) -> Self

Source

pub fn unknown_input_stream(endpoint_name: &str, stream_name: &str) -> Self

Source

pub fn unknown_output_stream(endpoint_name: &str, stream_name: &str) -> Self

Source

pub fn unknown_index(endpoint_name: &str, index_name: &str) -> Self

Source

pub fn not_an_index(endpoint_name: &str, index_name: &str) -> Self

Source

pub fn input_format_not_supported(endpoint_name: &str, error: &str) -> Self

Source

pub fn output_format_not_supported(endpoint_name: &str, error: &str) -> Self

Source

pub fn input_format_not_specified(endpoint_name: &str) -> Self

Source

pub fn output_format_not_specified(endpoint_name: &str) -> Self

Source

pub fn invalid_encoder_configuration(endpoint_name: &str, error: &str) -> Self

Source

pub fn invalid_parser_configuration(endpoint_name: &str, error: &str) -> Self

Source

pub fn invalid_transport_configuration(endpoint_name: &str, error: &str) -> Self

Source

pub fn invalid_output_buffer_configuration( endpoint_name: &str, error: &str, ) -> Self

Source

pub fn cyclic_dependency(cycle: Vec<(String, String)>) -> Self

Source

pub fn empty_start_after(endpoint_name: &str) -> Self

Trait Implementations§

Source§

impl Debug for ConfigError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DetailedError for ConfigError

Source§

fn error_code(&self) -> Cow<'static, str>

Source§

fn log_level(&self) -> Level

Source§

impl Display for ConfigError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), FmtError>

Formats the value using the given formatter. Read more
Source§

impl Error for ConfigError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<ConfigError> for ControllerError

Source§

fn from(config_error: ConfigError) -> Self

Converts to this type from the input type.
Source§

impl Serialize for ConfigError

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> AsAny for T
where T: 'static,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CustomError for T
where T: Display + Debug + Send + Sync + 'static,

Source§

fn as_any(&self) -> &(dyn Any + Send + Sync + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + Send + Sync + 'static)

Source§

fn as_box_any(self: Box<T>) -> Box<dyn Any + Send + Sync>

Source§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

Source§

fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Error for T
where T: Error + 'static,

Source§

fn as_error(&self) -> &(dyn Error + 'static)

Gets this error as an std::error::Error.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The type for metadata in pointers and references to Self.
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The type for metadata in pointers and references to Self.
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

Source§

fn is_within(&self, b: &G2) -> bool