pub enum SlotType {
Logical(LogicalType),
NodeId,
RelationalRowLocator,
}Expand description
The semantic value type or executor-private role assigned to one slot.
Query-visible values use the shared LogicalType. Physical identifiers
and row locators remain explicit executor roles and cannot accidentally
escape as logical schema types.
Variants§
Implementations§
Source§impl SlotType
impl SlotType
pub const fn logical(logical_type: LogicalType) -> Self
pub const fn logical_type(self) -> Option<LogicalType>
pub const fn accepts(self, column_type: ColumnType) -> bool
Trait Implementations§
impl Copy for SlotType
impl Eq for SlotType
impl StructuralPartialEq for SlotType
Auto Trait Implementations§
impl Freeze for SlotType
impl RefUnwindSafe for SlotType
impl Send for SlotType
impl Sync for SlotType
impl Unpin for SlotType
impl UnsafeUnpin for SlotType
impl UnwindSafe for SlotType
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