pub enum SourceStreamConfig {
OracleSourceConfig(OracleSourceConfig),
MysqlSourceConfig(MysqlSourceConfig),
PostgresqlSourceConfig(PostgresqlSourceConfig),
}Expand description
Stream configuration that is specific to the data source type.
Variants§
OracleSourceConfig(OracleSourceConfig)
Oracle data source configuration.
MysqlSourceConfig(MysqlSourceConfig)
MySQL data source configuration.
PostgresqlSourceConfig(PostgresqlSourceConfig)
PostgreSQL data source configuration.
Implementations§
Source§impl SourceStreamConfig
impl SourceStreamConfig
Sourcepub fn merge(
field: &mut Option<SourceStreamConfig>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SourceStreamConfig>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for SourceStreamConfig
impl Clone for SourceStreamConfig
Source§fn clone(&self) -> SourceStreamConfig
fn clone(&self) -> SourceStreamConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceStreamConfig
impl Debug for SourceStreamConfig
Source§impl<'de> Deserialize<'de> for SourceStreamConfig
impl<'de> Deserialize<'de> for SourceStreamConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourceStreamConfig
impl PartialEq for SourceStreamConfig
Source§impl Serialize for SourceStreamConfig
impl Serialize for SourceStreamConfig
impl StructuralPartialEq for SourceStreamConfig
Auto Trait Implementations§
impl Freeze for SourceStreamConfig
impl RefUnwindSafe for SourceStreamConfig
impl Send for SourceStreamConfig
impl Sync for SourceStreamConfig
impl Unpin for SourceStreamConfig
impl UnwindSafe for SourceStreamConfig
Blanket Implementations§
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