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.
ParserConfigParseError
Failed to parse parser configuration for an endpoint.
EncoderConfigParseError
Failed to parse encoder configuration for an endpoint.
DuplicateInputEndpoint
Input endpoint with this name already exists.
DuplicateInputStream
Input table with this name already exists.
DuplicateOutputEndpoint
Output endpoint with this name already exists.
DuplicateOutputStream
Output view with this name already exists.
UnknownInputFormat
Endpoint configuration specifies unknown input format name.
UnknownOutputFormat
Endpoint configuration specifies unknown output format name.
UnknownInputTransport
Endpoint configuration specifies unknown input transport name.
UnknownOutputTransport
Endpoint configuration specifies unknown output transport name.
UnknownInputStream
Endpoint configuration specifies an input stream name that is not found in the circuit catalog.
UnknownOutputStream
Endpoint configuration specifies an output stream name that is not found in the circuit catalog.
UnknownIndex
Endpoint configuration specifies an index name that is not found in the circuit catalog.
NotAnIndex
InputFormatNotSupported
OutputFormatNotSupported
InputFormatNotSpecified
OutputFormatNotSpecified
InvalidEncoderConfig
InvalidParserConfig
InvalidTransportConfig
InvalidOutputBufferConfig
CyclicDependency
EmptyStartAfter
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.
InvalidLayout(LayoutError)
Implementations§
Source§impl ConfigError
impl ConfigError
pub fn pipeline_config_parse_error<E>(error: &E) -> Selfwhere
E: ToString,
pub fn parser_config_parse_error<E>(
endpoint_name: &str,
error: &E,
config: &str,
) -> Selfwhere
E: ToString,
pub fn encoder_config_parse_error<E>(
endpoint_name: &str,
error: &E,
config: &str,
) -> Selfwhere
E: ToString,
pub fn duplicate_input_endpoint(endpoint_name: &str) -> Self
pub fn duplicate_input_stream(stream_name: &str) -> Self
pub fn unknown_input_format(endpoint_name: &str, format_name: &str) -> Self
pub fn unknown_input_transport( endpoint_name: &str, transport_name: &str, ) -> Self
pub fn duplicate_output_endpoint(endpoint_name: &str) -> Self
pub fn duplicate_output_stream(stream_name: &str) -> Self
pub fn unknown_output_format(endpoint_name: &str, format_name: &str) -> Self
pub fn unknown_output_transport( endpoint_name: &str, transport_name: &str, ) -> Self
pub fn unknown_input_stream(endpoint_name: &str, stream_name: &str) -> Self
pub fn unknown_output_stream(endpoint_name: &str, stream_name: &str) -> Self
pub fn unknown_index(endpoint_name: &str, index_name: &str) -> Self
pub fn not_an_index(endpoint_name: &str, index_name: &str) -> Self
pub fn input_format_not_supported(endpoint_name: &str, error: &str) -> Self
pub fn output_format_not_supported(endpoint_name: &str, error: &str) -> Self
pub fn input_format_not_specified(endpoint_name: &str) -> Self
pub fn output_format_not_specified(endpoint_name: &str) -> Self
pub fn invalid_encoder_configuration(endpoint_name: &str, error: &str) -> Self
pub fn invalid_parser_configuration(endpoint_name: &str, error: &str) -> Self
pub fn invalid_transport_configuration(endpoint_name: &str, error: &str) -> Self
pub fn invalid_output_buffer_configuration( endpoint_name: &str, error: &str, ) -> Self
pub fn cyclic_dependency(cycle: Vec<(String, String)>) -> Self
pub fn empty_start_after(endpoint_name: &str) -> Self
Trait Implementations§
Source§impl Debug for ConfigError
impl Debug for ConfigError
Source§impl DetailedError for ConfigError
impl DetailedError for ConfigError
Source§impl Display for ConfigError
impl Display for ConfigError
Source§impl Error for ConfigError
impl Error for ConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ConfigError> for ControllerError
impl From<ConfigError> for ControllerError
Source§fn from(config_error: ConfigError) -> Self
fn from(config_error: ConfigError) -> Self
Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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