pub struct OpenArgs {
pub partition: usize,
pub context: Arc<TaskContext>,
pub sibling_state: Option<Arc<dyn Any + Send + Sync>>,
}Expand description
Arguments for DataSource::open_with_args
Fields§
§partition: usizeWhich partition to open
context: Arc<TaskContext>The task context for execution
sibling_state: Option<Arc<dyn Any + Send + Sync>>Optional sibling-shared execution state, see
DataSource::create_sibling_state for details.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for OpenArgs
impl !UnwindSafe for OpenArgs
impl Freeze for OpenArgs
impl Send for OpenArgs
impl Sync for OpenArgs
impl Unpin for OpenArgs
impl UnsafeUnpin for OpenArgs
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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