#[non_exhaustive]pub enum CreateTableStatementBuilderError {
UninitializedField(&'static str),
ValidationError(String),
}Expand description
Error type for CreateTableStatementBuilder
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UninitializedField(&'static str)
Uninitialized field
ValidationError(String)
Custom validation error
Trait Implementations§
Source§impl Error for CreateTableStatementBuilderError
impl Error for CreateTableStatementBuilderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<String> for CreateTableStatementBuilderError
impl From<String> for CreateTableStatementBuilderError
Source§fn from(s: String) -> CreateTableStatementBuilderError
fn from(s: String) -> CreateTableStatementBuilderError
Converts to this type from the input type.
Source§impl From<UninitializedFieldError> for CreateTableStatementBuilderError
impl From<UninitializedFieldError> for CreateTableStatementBuilderError
Source§fn from(s: UninitializedFieldError) -> CreateTableStatementBuilderError
fn from(s: UninitializedFieldError) -> CreateTableStatementBuilderError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateTableStatementBuilderError
impl RefUnwindSafe for CreateTableStatementBuilderError
impl Send for CreateTableStatementBuilderError
impl Sync for CreateTableStatementBuilderError
impl Unpin for CreateTableStatementBuilderError
impl UnwindSafe for CreateTableStatementBuilderError
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
Source§impl<E, T, const C: usize> ChannelBuilder<AbortableBoundedChannel<E, C>> for T
impl<E, T, const C: usize> ChannelBuilder<AbortableBoundedChannel<E, C>> for T
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<AbortableBoundedChannel<E, C>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<AbortableBoundedChannel<E, C>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<E, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T
impl<E, T> ChannelBuilder<AbortableUnboundedChannel<E>> for T
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<AbortableUnboundedChannel<E>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<AbortableUnboundedChannel<E>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<E, T, const C: usize> ChannelBuilder<BoundedChannel<E, C>> for Twhere
E: ShutdownEvent + 'static,
T: Send,
impl<E, T, const C: usize> ChannelBuilder<BoundedChannel<E, C>> for Twhere
E: ShutdownEvent + 'static,
T: Send,
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<BoundedChannel<E, C>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<BoundedChannel<E, C>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<T, const I: u64> ChannelBuilder<IntervalChannel<I>> for Twhere
T: Send,
impl<T, const I: u64> ChannelBuilder<IntervalChannel<I>> for Twhere
T: Send,
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<IntervalChannel<I>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<IntervalChannel<I>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<T, C, B> ChannelBuilder<Marker<C, B>> for T
impl<T, C, B> ChannelBuilder<Marker<C, B>> for T
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Marker<C, B>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Marker<C, B>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<T> ChannelBuilder<NullChannel> for Twhere
T: Send,
impl<T> ChannelBuilder<NullChannel> for Twhere
T: Send,
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<NullChannel, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<NullChannel, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor
Source§impl<E, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
E: ShutdownEvent + 'static,
T: Send,
impl<E, T> ChannelBuilder<UnboundedChannel<E>> for Twhere
E: ShutdownEvent + 'static,
T: Send,
Source§fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<UnboundedChannel<E>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
fn build_channel<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<UnboundedChannel<E>, ActorError>> + Send + 'async_trait>>where
'life0: 'async_trait,
T: 'async_trait,
Implement how to build the channel for the corresponding actor