pub struct NullPartitionProvider {}Expand description
A QueryPartitionProvider that always returns an empty list of partitions.
Trait Implementations§
Source§impl Debug for NullPartitionProvider
impl Debug for NullPartitionProvider
Source§impl Display for NullPartitionProvider
impl Display for NullPartitionProvider
Source§impl QueryPartitionProvider for NullPartitionProvider
impl QueryPartitionProvider for NullPartitionProvider
Source§fn fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_view_set_name: &'life1 str,
_view_instance_id: &'life2 str,
_query_range: Option<TimeRange>,
_file_schema_hash: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Partition>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
NullPartitionProvider: 'async_trait,
fn fetch<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_view_set_name: &'life1 str,
_view_instance_id: &'life2 str,
_query_range: Option<TimeRange>,
_file_schema_hash: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Partition>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
NullPartitionProvider: 'async_trait,
Fetches partitions based on the provided criteria.
Auto Trait Implementations§
impl Freeze for NullPartitionProvider
impl RefUnwindSafe for NullPartitionProvider
impl Send for NullPartitionProvider
impl Sync for NullPartitionProvider
impl Unpin for NullPartitionProvider
impl UnwindSafe for NullPartitionProvider
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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 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>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.