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> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.