pub enum NodeBody {
Show 39 variants
Insert(InsertNode),
Delete(DeleteNode),
Update(UpdateNode),
Project(ProjectNode),
HashAgg(HashAggNode),
Filter(FilterNode),
Exchange(ExchangeNode),
Sort(SortNode),
NestedLoopJoin(NestedLoopJoinNode),
TopN(TopNNode),
SortAgg(SortAggNode),
RowSeqScan(RowSeqScanNode),
Limit(LimitNode),
Values(ValuesNode),
HashJoin(HashJoinNode),
MergeSortExchange(MergeSortExchangeNode),
HopWindow(HopWindowNode),
TableFunction(TableFunctionNode),
SysRowSeqScan(SysRowSeqScanNode),
Expand(ExpandNode),
LocalLookupJoin(LocalLookupJoinNode),
ProjectSet(ProjectSetNode),
Union(UnionNode),
GroupTopN(GroupTopNNode),
DistributedLookupJoin(DistributedLookupJoinNode),
Source(SourceNode),
SortOverWindow(SortOverWindowNode),
MaxOneRow(MaxOneRowNode),
LogRowSeqScan(LogRowSeqScanNode),
FileScan(FileScanNode),
IcebergScan(IcebergScanNode),
PostgresQuery(PostgresQueryNode),
MysqlQuery(MySqlQueryNode),
GcsFileScan(GcsFileScanNode),
AzblobFileScan(AzblobFileScanNode),
VectorIndexNearest(VectorIndexNearestNode),
GetChannelDeltaStats(GetChannelDeltaStatsNode),
BlockExecutor(bool),
BusyLoopExecutor(bool),
}Variants§
Insert(InsertNode)
Delete(DeleteNode)
Update(UpdateNode)
Project(ProjectNode)
HashAgg(HashAggNode)
Filter(FilterNode)
Exchange(ExchangeNode)
Sort(SortNode)
NestedLoopJoin(NestedLoopJoinNode)
TopN(TopNNode)
SortAgg(SortAggNode)
RowSeqScan(RowSeqScanNode)
Limit(LimitNode)
Values(ValuesNode)
HashJoin(HashJoinNode)
MergeSortExchange(MergeSortExchangeNode)
HopWindow(HopWindowNode)
TableFunction(TableFunctionNode)
SysRowSeqScan(SysRowSeqScanNode)
Expand(ExpandNode)
LocalLookupJoin(LocalLookupJoinNode)
ProjectSet(ProjectSetNode)
Union(UnionNode)
GroupTopN(GroupTopNNode)
DistributedLookupJoin(DistributedLookupJoinNode)
Source(SourceNode)
SortOverWindow(SortOverWindowNode)
MaxOneRow(MaxOneRowNode)
LogRowSeqScan(LogRowSeqScanNode)
FileScan(FileScanNode)
IcebergScan(IcebergScanNode)
PostgresQuery(PostgresQueryNode)
MysqlQuery(MySqlQueryNode)
GcsFileScan(GcsFileScanNode)
AzblobFileScan(AzblobFileScanNode)
VectorIndexNearest(VectorIndexNearestNode)
GetChannelDeltaStats(GetChannelDeltaStatsNode)
BlockExecutor(bool)
The following nodes are used for testing.
BusyLoopExecutor(bool)
Implementations§
Source§impl NodeBody
impl NodeBody
Sourcepub fn merge(
field: &mut Option<NodeBody>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<NodeBody>, 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.
Source§impl NodeBody
impl NodeBody
Sourcepub fn as_insert_mut(&mut self) -> Option<&mut InsertNode>
pub fn as_insert_mut(&mut self) -> Option<&mut InsertNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Insert, otherwise None
Sourcepub fn as_insert(&self) -> Option<&InsertNode>
pub fn as_insert(&self) -> Option<&InsertNode>
Optionally returns references to the inner fields if this is a NodeBody::Insert, otherwise None
Sourcepub fn into_insert(self) -> Result<InsertNode, Self>
pub fn into_insert(self) -> Result<InsertNode, Self>
Returns the inner fields if this is a NodeBody::Insert, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_insert_unchecked(self) -> InsertNode
pub unsafe fn into_insert_unchecked(self) -> InsertNode
Unchecked return of the inner fields of NodeBody::Insert.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_insert_unchecked(&self) -> &InsertNode
pub unsafe fn as_insert_unchecked(&self) -> &InsertNode
Unchecked reference of the inner fields of NodeBody::Insert.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_insert_mut_unchecked(&mut self) -> &mut InsertNode
pub unsafe fn as_insert_mut_unchecked(&mut self) -> &mut InsertNode
Unchecked mutable reference of the inner fields of NodeBody::Insert.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_delete_mut(&mut self) -> Option<&mut DeleteNode>
pub fn as_delete_mut(&mut self) -> Option<&mut DeleteNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Delete, otherwise None
Sourcepub fn as_delete(&self) -> Option<&DeleteNode>
pub fn as_delete(&self) -> Option<&DeleteNode>
Optionally returns references to the inner fields if this is a NodeBody::Delete, otherwise None
Sourcepub fn into_delete(self) -> Result<DeleteNode, Self>
pub fn into_delete(self) -> Result<DeleteNode, Self>
Returns the inner fields if this is a NodeBody::Delete, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_delete_unchecked(self) -> DeleteNode
pub unsafe fn into_delete_unchecked(self) -> DeleteNode
Unchecked return of the inner fields of NodeBody::Delete.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_delete_unchecked(&self) -> &DeleteNode
pub unsafe fn as_delete_unchecked(&self) -> &DeleteNode
Unchecked reference of the inner fields of NodeBody::Delete.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_delete_mut_unchecked(&mut self) -> &mut DeleteNode
pub unsafe fn as_delete_mut_unchecked(&mut self) -> &mut DeleteNode
Unchecked mutable reference of the inner fields of NodeBody::Delete.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_update_mut(&mut self) -> Option<&mut UpdateNode>
pub fn as_update_mut(&mut self) -> Option<&mut UpdateNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Update, otherwise None
Sourcepub fn as_update(&self) -> Option<&UpdateNode>
pub fn as_update(&self) -> Option<&UpdateNode>
Optionally returns references to the inner fields if this is a NodeBody::Update, otherwise None
Sourcepub fn into_update(self) -> Result<UpdateNode, Self>
pub fn into_update(self) -> Result<UpdateNode, Self>
Returns the inner fields if this is a NodeBody::Update, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_update_unchecked(self) -> UpdateNode
pub unsafe fn into_update_unchecked(self) -> UpdateNode
Unchecked return of the inner fields of NodeBody::Update.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_update_unchecked(&self) -> &UpdateNode
pub unsafe fn as_update_unchecked(&self) -> &UpdateNode
Unchecked reference of the inner fields of NodeBody::Update.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_update_mut_unchecked(&mut self) -> &mut UpdateNode
pub unsafe fn as_update_mut_unchecked(&mut self) -> &mut UpdateNode
Unchecked mutable reference of the inner fields of NodeBody::Update.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_project(&self) -> bool
pub fn is_project(&self) -> bool
Returns true if this is a NodeBody::Project, otherwise false
Sourcepub fn as_project_mut(&mut self) -> Option<&mut ProjectNode>
pub fn as_project_mut(&mut self) -> Option<&mut ProjectNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Project, otherwise None
Sourcepub fn as_project(&self) -> Option<&ProjectNode>
pub fn as_project(&self) -> Option<&ProjectNode>
Optionally returns references to the inner fields if this is a NodeBody::Project, otherwise None
Sourcepub fn into_project(self) -> Result<ProjectNode, Self>
pub fn into_project(self) -> Result<ProjectNode, Self>
Returns the inner fields if this is a NodeBody::Project, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_project_unchecked(self) -> ProjectNode
pub unsafe fn into_project_unchecked(self) -> ProjectNode
Unchecked return of the inner fields of NodeBody::Project.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_project_unchecked(&self) -> &ProjectNode
pub unsafe fn as_project_unchecked(&self) -> &ProjectNode
Unchecked reference of the inner fields of NodeBody::Project.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_project_mut_unchecked(&mut self) -> &mut ProjectNode
pub unsafe fn as_project_mut_unchecked(&mut self) -> &mut ProjectNode
Unchecked mutable reference of the inner fields of NodeBody::Project.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_hash_agg(&self) -> bool
pub fn is_hash_agg(&self) -> bool
Returns true if this is a NodeBody::HashAgg, otherwise false
Sourcepub fn as_hash_agg_mut(&mut self) -> Option<&mut HashAggNode>
pub fn as_hash_agg_mut(&mut self) -> Option<&mut HashAggNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::HashAgg, otherwise None
Sourcepub fn as_hash_agg(&self) -> Option<&HashAggNode>
pub fn as_hash_agg(&self) -> Option<&HashAggNode>
Optionally returns references to the inner fields if this is a NodeBody::HashAgg, otherwise None
Sourcepub fn into_hash_agg(self) -> Result<HashAggNode, Self>
pub fn into_hash_agg(self) -> Result<HashAggNode, Self>
Returns the inner fields if this is a NodeBody::HashAgg, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_hash_agg_unchecked(self) -> HashAggNode
pub unsafe fn into_hash_agg_unchecked(self) -> HashAggNode
Unchecked return of the inner fields of NodeBody::HashAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hash_agg_unchecked(&self) -> &HashAggNode
pub unsafe fn as_hash_agg_unchecked(&self) -> &HashAggNode
Unchecked reference of the inner fields of NodeBody::HashAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hash_agg_mut_unchecked(&mut self) -> &mut HashAggNode
pub unsafe fn as_hash_agg_mut_unchecked(&mut self) -> &mut HashAggNode
Unchecked mutable reference of the inner fields of NodeBody::HashAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_filter_mut(&mut self) -> Option<&mut FilterNode>
pub fn as_filter_mut(&mut self) -> Option<&mut FilterNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Filter, otherwise None
Sourcepub fn as_filter(&self) -> Option<&FilterNode>
pub fn as_filter(&self) -> Option<&FilterNode>
Optionally returns references to the inner fields if this is a NodeBody::Filter, otherwise None
Sourcepub fn into_filter(self) -> Result<FilterNode, Self>
pub fn into_filter(self) -> Result<FilterNode, Self>
Returns the inner fields if this is a NodeBody::Filter, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_filter_unchecked(self) -> FilterNode
pub unsafe fn into_filter_unchecked(self) -> FilterNode
Unchecked return of the inner fields of NodeBody::Filter.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_filter_unchecked(&self) -> &FilterNode
pub unsafe fn as_filter_unchecked(&self) -> &FilterNode
Unchecked reference of the inner fields of NodeBody::Filter.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_filter_mut_unchecked(&mut self) -> &mut FilterNode
pub unsafe fn as_filter_mut_unchecked(&mut self) -> &mut FilterNode
Unchecked mutable reference of the inner fields of NodeBody::Filter.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_exchange(&self) -> bool
pub fn is_exchange(&self) -> bool
Returns true if this is a NodeBody::Exchange, otherwise false
Sourcepub fn as_exchange_mut(&mut self) -> Option<&mut ExchangeNode>
pub fn as_exchange_mut(&mut self) -> Option<&mut ExchangeNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Exchange, otherwise None
Sourcepub fn as_exchange(&self) -> Option<&ExchangeNode>
pub fn as_exchange(&self) -> Option<&ExchangeNode>
Optionally returns references to the inner fields if this is a NodeBody::Exchange, otherwise None
Sourcepub fn into_exchange(self) -> Result<ExchangeNode, Self>
pub fn into_exchange(self) -> Result<ExchangeNode, Self>
Returns the inner fields if this is a NodeBody::Exchange, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_exchange_unchecked(self) -> ExchangeNode
pub unsafe fn into_exchange_unchecked(self) -> ExchangeNode
Unchecked return of the inner fields of NodeBody::Exchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_exchange_unchecked(&self) -> &ExchangeNode
pub unsafe fn as_exchange_unchecked(&self) -> &ExchangeNode
Unchecked reference of the inner fields of NodeBody::Exchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_exchange_mut_unchecked(&mut self) -> &mut ExchangeNode
pub unsafe fn as_exchange_mut_unchecked(&mut self) -> &mut ExchangeNode
Unchecked mutable reference of the inner fields of NodeBody::Exchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_sort_mut(&mut self) -> Option<&mut SortNode>
pub fn as_sort_mut(&mut self) -> Option<&mut SortNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Sort, otherwise None
Sourcepub fn as_sort(&self) -> Option<&SortNode>
pub fn as_sort(&self) -> Option<&SortNode>
Optionally returns references to the inner fields if this is a NodeBody::Sort, otherwise None
Sourcepub fn into_sort(self) -> Result<SortNode, Self>
pub fn into_sort(self) -> Result<SortNode, Self>
Returns the inner fields if this is a NodeBody::Sort, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_sort_unchecked(self) -> SortNode
pub unsafe fn into_sort_unchecked(self) -> SortNode
Unchecked return of the inner fields of NodeBody::Sort.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_unchecked(&self) -> &SortNode
pub unsafe fn as_sort_unchecked(&self) -> &SortNode
Unchecked reference of the inner fields of NodeBody::Sort.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_mut_unchecked(&mut self) -> &mut SortNode
pub unsafe fn as_sort_mut_unchecked(&mut self) -> &mut SortNode
Unchecked mutable reference of the inner fields of NodeBody::Sort.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_nested_loop_join(&self) -> bool
pub fn is_nested_loop_join(&self) -> bool
Returns true if this is a NodeBody::NestedLoopJoin, otherwise false
Sourcepub fn as_nested_loop_join_mut(&mut self) -> Option<&mut NestedLoopJoinNode>
pub fn as_nested_loop_join_mut(&mut self) -> Option<&mut NestedLoopJoinNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::NestedLoopJoin, otherwise None
Sourcepub fn as_nested_loop_join(&self) -> Option<&NestedLoopJoinNode>
pub fn as_nested_loop_join(&self) -> Option<&NestedLoopJoinNode>
Optionally returns references to the inner fields if this is a NodeBody::NestedLoopJoin, otherwise None
Sourcepub fn into_nested_loop_join(self) -> Result<NestedLoopJoinNode, Self>
pub fn into_nested_loop_join(self) -> Result<NestedLoopJoinNode, Self>
Returns the inner fields if this is a NodeBody::NestedLoopJoin, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_nested_loop_join_unchecked(self) -> NestedLoopJoinNode
pub unsafe fn into_nested_loop_join_unchecked(self) -> NestedLoopJoinNode
Unchecked return of the inner fields of NodeBody::NestedLoopJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_nested_loop_join_unchecked(&self) -> &NestedLoopJoinNode
pub unsafe fn as_nested_loop_join_unchecked(&self) -> &NestedLoopJoinNode
Unchecked reference of the inner fields of NodeBody::NestedLoopJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_nested_loop_join_mut_unchecked(
&mut self,
) -> &mut NestedLoopJoinNode
pub unsafe fn as_nested_loop_join_mut_unchecked( &mut self, ) -> &mut NestedLoopJoinNode
Unchecked mutable reference of the inner fields of NodeBody::NestedLoopJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_top_n_mut(&mut self) -> Option<&mut TopNNode>
pub fn as_top_n_mut(&mut self) -> Option<&mut TopNNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::TopN, otherwise None
Sourcepub fn as_top_n(&self) -> Option<&TopNNode>
pub fn as_top_n(&self) -> Option<&TopNNode>
Optionally returns references to the inner fields if this is a NodeBody::TopN, otherwise None
Sourcepub fn into_top_n(self) -> Result<TopNNode, Self>
pub fn into_top_n(self) -> Result<TopNNode, Self>
Returns the inner fields if this is a NodeBody::TopN, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_top_n_unchecked(self) -> TopNNode
pub unsafe fn into_top_n_unchecked(self) -> TopNNode
Unchecked return of the inner fields of NodeBody::TopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_top_n_unchecked(&self) -> &TopNNode
pub unsafe fn as_top_n_unchecked(&self) -> &TopNNode
Unchecked reference of the inner fields of NodeBody::TopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_top_n_mut_unchecked(&mut self) -> &mut TopNNode
pub unsafe fn as_top_n_mut_unchecked(&mut self) -> &mut TopNNode
Unchecked mutable reference of the inner fields of NodeBody::TopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_sort_agg(&self) -> bool
pub fn is_sort_agg(&self) -> bool
Returns true if this is a NodeBody::SortAgg, otherwise false
Sourcepub fn as_sort_agg_mut(&mut self) -> Option<&mut SortAggNode>
pub fn as_sort_agg_mut(&mut self) -> Option<&mut SortAggNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::SortAgg, otherwise None
Sourcepub fn as_sort_agg(&self) -> Option<&SortAggNode>
pub fn as_sort_agg(&self) -> Option<&SortAggNode>
Optionally returns references to the inner fields if this is a NodeBody::SortAgg, otherwise None
Sourcepub fn into_sort_agg(self) -> Result<SortAggNode, Self>
pub fn into_sort_agg(self) -> Result<SortAggNode, Self>
Returns the inner fields if this is a NodeBody::SortAgg, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_sort_agg_unchecked(self) -> SortAggNode
pub unsafe fn into_sort_agg_unchecked(self) -> SortAggNode
Unchecked return of the inner fields of NodeBody::SortAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_agg_unchecked(&self) -> &SortAggNode
pub unsafe fn as_sort_agg_unchecked(&self) -> &SortAggNode
Unchecked reference of the inner fields of NodeBody::SortAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_agg_mut_unchecked(&mut self) -> &mut SortAggNode
pub unsafe fn as_sort_agg_mut_unchecked(&mut self) -> &mut SortAggNode
Unchecked mutable reference of the inner fields of NodeBody::SortAgg.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_row_seq_scan(&self) -> bool
pub fn is_row_seq_scan(&self) -> bool
Returns true if this is a NodeBody::RowSeqScan, otherwise false
Sourcepub fn as_row_seq_scan_mut(&mut self) -> Option<&mut RowSeqScanNode>
pub fn as_row_seq_scan_mut(&mut self) -> Option<&mut RowSeqScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::RowSeqScan, otherwise None
Sourcepub fn as_row_seq_scan(&self) -> Option<&RowSeqScanNode>
pub fn as_row_seq_scan(&self) -> Option<&RowSeqScanNode>
Optionally returns references to the inner fields if this is a NodeBody::RowSeqScan, otherwise None
Sourcepub fn into_row_seq_scan(self) -> Result<RowSeqScanNode, Self>
pub fn into_row_seq_scan(self) -> Result<RowSeqScanNode, Self>
Returns the inner fields if this is a NodeBody::RowSeqScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_row_seq_scan_unchecked(self) -> RowSeqScanNode
pub unsafe fn into_row_seq_scan_unchecked(self) -> RowSeqScanNode
Unchecked return of the inner fields of NodeBody::RowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_row_seq_scan_unchecked(&self) -> &RowSeqScanNode
pub unsafe fn as_row_seq_scan_unchecked(&self) -> &RowSeqScanNode
Unchecked reference of the inner fields of NodeBody::RowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_row_seq_scan_mut_unchecked(&mut self) -> &mut RowSeqScanNode
pub unsafe fn as_row_seq_scan_mut_unchecked(&mut self) -> &mut RowSeqScanNode
Unchecked mutable reference of the inner fields of NodeBody::RowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_limit_mut(&mut self) -> Option<&mut LimitNode>
pub fn as_limit_mut(&mut self) -> Option<&mut LimitNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Limit, otherwise None
Sourcepub fn as_limit(&self) -> Option<&LimitNode>
pub fn as_limit(&self) -> Option<&LimitNode>
Optionally returns references to the inner fields if this is a NodeBody::Limit, otherwise None
Sourcepub fn into_limit(self) -> Result<LimitNode, Self>
pub fn into_limit(self) -> Result<LimitNode, Self>
Returns the inner fields if this is a NodeBody::Limit, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_limit_unchecked(self) -> LimitNode
pub unsafe fn into_limit_unchecked(self) -> LimitNode
Unchecked return of the inner fields of NodeBody::Limit.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_limit_unchecked(&self) -> &LimitNode
pub unsafe fn as_limit_unchecked(&self) -> &LimitNode
Unchecked reference of the inner fields of NodeBody::Limit.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_limit_mut_unchecked(&mut self) -> &mut LimitNode
pub unsafe fn as_limit_mut_unchecked(&mut self) -> &mut LimitNode
Unchecked mutable reference of the inner fields of NodeBody::Limit.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_values_mut(&mut self) -> Option<&mut ValuesNode>
pub fn as_values_mut(&mut self) -> Option<&mut ValuesNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Values, otherwise None
Sourcepub fn as_values(&self) -> Option<&ValuesNode>
pub fn as_values(&self) -> Option<&ValuesNode>
Optionally returns references to the inner fields if this is a NodeBody::Values, otherwise None
Sourcepub fn into_values(self) -> Result<ValuesNode, Self>
pub fn into_values(self) -> Result<ValuesNode, Self>
Returns the inner fields if this is a NodeBody::Values, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_values_unchecked(self) -> ValuesNode
pub unsafe fn into_values_unchecked(self) -> ValuesNode
Unchecked return of the inner fields of NodeBody::Values.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_values_unchecked(&self) -> &ValuesNode
pub unsafe fn as_values_unchecked(&self) -> &ValuesNode
Unchecked reference of the inner fields of NodeBody::Values.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_values_mut_unchecked(&mut self) -> &mut ValuesNode
pub unsafe fn as_values_mut_unchecked(&mut self) -> &mut ValuesNode
Unchecked mutable reference of the inner fields of NodeBody::Values.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_hash_join(&self) -> bool
pub fn is_hash_join(&self) -> bool
Returns true if this is a NodeBody::HashJoin, otherwise false
Sourcepub fn as_hash_join_mut(&mut self) -> Option<&mut HashJoinNode>
pub fn as_hash_join_mut(&mut self) -> Option<&mut HashJoinNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::HashJoin, otherwise None
Sourcepub fn as_hash_join(&self) -> Option<&HashJoinNode>
pub fn as_hash_join(&self) -> Option<&HashJoinNode>
Optionally returns references to the inner fields if this is a NodeBody::HashJoin, otherwise None
Sourcepub fn into_hash_join(self) -> Result<HashJoinNode, Self>
pub fn into_hash_join(self) -> Result<HashJoinNode, Self>
Returns the inner fields if this is a NodeBody::HashJoin, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_hash_join_unchecked(self) -> HashJoinNode
pub unsafe fn into_hash_join_unchecked(self) -> HashJoinNode
Unchecked return of the inner fields of NodeBody::HashJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hash_join_unchecked(&self) -> &HashJoinNode
pub unsafe fn as_hash_join_unchecked(&self) -> &HashJoinNode
Unchecked reference of the inner fields of NodeBody::HashJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hash_join_mut_unchecked(&mut self) -> &mut HashJoinNode
pub unsafe fn as_hash_join_mut_unchecked(&mut self) -> &mut HashJoinNode
Unchecked mutable reference of the inner fields of NodeBody::HashJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_merge_sort_exchange(&self) -> bool
pub fn is_merge_sort_exchange(&self) -> bool
Returns true if this is a NodeBody::MergeSortExchange, otherwise false
Sourcepub fn as_merge_sort_exchange_mut(
&mut self,
) -> Option<&mut MergeSortExchangeNode>
pub fn as_merge_sort_exchange_mut( &mut self, ) -> Option<&mut MergeSortExchangeNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::MergeSortExchange, otherwise None
Sourcepub fn as_merge_sort_exchange(&self) -> Option<&MergeSortExchangeNode>
pub fn as_merge_sort_exchange(&self) -> Option<&MergeSortExchangeNode>
Optionally returns references to the inner fields if this is a NodeBody::MergeSortExchange, otherwise None
Sourcepub fn into_merge_sort_exchange(self) -> Result<MergeSortExchangeNode, Self>
pub fn into_merge_sort_exchange(self) -> Result<MergeSortExchangeNode, Self>
Returns the inner fields if this is a NodeBody::MergeSortExchange, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_merge_sort_exchange_unchecked(self) -> MergeSortExchangeNode
pub unsafe fn into_merge_sort_exchange_unchecked(self) -> MergeSortExchangeNode
Unchecked return of the inner fields of NodeBody::MergeSortExchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_merge_sort_exchange_unchecked(&self) -> &MergeSortExchangeNode
pub unsafe fn as_merge_sort_exchange_unchecked(&self) -> &MergeSortExchangeNode
Unchecked reference of the inner fields of NodeBody::MergeSortExchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_merge_sort_exchange_mut_unchecked(
&mut self,
) -> &mut MergeSortExchangeNode
pub unsafe fn as_merge_sort_exchange_mut_unchecked( &mut self, ) -> &mut MergeSortExchangeNode
Unchecked mutable reference of the inner fields of NodeBody::MergeSortExchange.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_hop_window(&self) -> bool
pub fn is_hop_window(&self) -> bool
Returns true if this is a NodeBody::HopWindow, otherwise false
Sourcepub fn as_hop_window_mut(&mut self) -> Option<&mut HopWindowNode>
pub fn as_hop_window_mut(&mut self) -> Option<&mut HopWindowNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::HopWindow, otherwise None
Sourcepub fn as_hop_window(&self) -> Option<&HopWindowNode>
pub fn as_hop_window(&self) -> Option<&HopWindowNode>
Optionally returns references to the inner fields if this is a NodeBody::HopWindow, otherwise None
Sourcepub fn into_hop_window(self) -> Result<HopWindowNode, Self>
pub fn into_hop_window(self) -> Result<HopWindowNode, Self>
Returns the inner fields if this is a NodeBody::HopWindow, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_hop_window_unchecked(self) -> HopWindowNode
pub unsafe fn into_hop_window_unchecked(self) -> HopWindowNode
Unchecked return of the inner fields of NodeBody::HopWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hop_window_unchecked(&self) -> &HopWindowNode
pub unsafe fn as_hop_window_unchecked(&self) -> &HopWindowNode
Unchecked reference of the inner fields of NodeBody::HopWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_hop_window_mut_unchecked(&mut self) -> &mut HopWindowNode
pub unsafe fn as_hop_window_mut_unchecked(&mut self) -> &mut HopWindowNode
Unchecked mutable reference of the inner fields of NodeBody::HopWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_table_function(&self) -> bool
pub fn is_table_function(&self) -> bool
Returns true if this is a NodeBody::TableFunction, otherwise false
Sourcepub fn as_table_function_mut(&mut self) -> Option<&mut TableFunctionNode>
pub fn as_table_function_mut(&mut self) -> Option<&mut TableFunctionNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::TableFunction, otherwise None
Sourcepub fn as_table_function(&self) -> Option<&TableFunctionNode>
pub fn as_table_function(&self) -> Option<&TableFunctionNode>
Optionally returns references to the inner fields if this is a NodeBody::TableFunction, otherwise None
Sourcepub fn into_table_function(self) -> Result<TableFunctionNode, Self>
pub fn into_table_function(self) -> Result<TableFunctionNode, Self>
Returns the inner fields if this is a NodeBody::TableFunction, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_table_function_unchecked(self) -> TableFunctionNode
pub unsafe fn into_table_function_unchecked(self) -> TableFunctionNode
Unchecked return of the inner fields of NodeBody::TableFunction.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_table_function_unchecked(&self) -> &TableFunctionNode
pub unsafe fn as_table_function_unchecked(&self) -> &TableFunctionNode
Unchecked reference of the inner fields of NodeBody::TableFunction.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_table_function_mut_unchecked(
&mut self,
) -> &mut TableFunctionNode
pub unsafe fn as_table_function_mut_unchecked( &mut self, ) -> &mut TableFunctionNode
Unchecked mutable reference of the inner fields of NodeBody::TableFunction.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_sys_row_seq_scan(&self) -> bool
pub fn is_sys_row_seq_scan(&self) -> bool
Returns true if this is a NodeBody::SysRowSeqScan, otherwise false
Sourcepub fn as_sys_row_seq_scan_mut(&mut self) -> Option<&mut SysRowSeqScanNode>
pub fn as_sys_row_seq_scan_mut(&mut self) -> Option<&mut SysRowSeqScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::SysRowSeqScan, otherwise None
Sourcepub fn as_sys_row_seq_scan(&self) -> Option<&SysRowSeqScanNode>
pub fn as_sys_row_seq_scan(&self) -> Option<&SysRowSeqScanNode>
Optionally returns references to the inner fields if this is a NodeBody::SysRowSeqScan, otherwise None
Sourcepub fn into_sys_row_seq_scan(self) -> Result<SysRowSeqScanNode, Self>
pub fn into_sys_row_seq_scan(self) -> Result<SysRowSeqScanNode, Self>
Returns the inner fields if this is a NodeBody::SysRowSeqScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_sys_row_seq_scan_unchecked(self) -> SysRowSeqScanNode
pub unsafe fn into_sys_row_seq_scan_unchecked(self) -> SysRowSeqScanNode
Unchecked return of the inner fields of NodeBody::SysRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sys_row_seq_scan_unchecked(&self) -> &SysRowSeqScanNode
pub unsafe fn as_sys_row_seq_scan_unchecked(&self) -> &SysRowSeqScanNode
Unchecked reference of the inner fields of NodeBody::SysRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sys_row_seq_scan_mut_unchecked(
&mut self,
) -> &mut SysRowSeqScanNode
pub unsafe fn as_sys_row_seq_scan_mut_unchecked( &mut self, ) -> &mut SysRowSeqScanNode
Unchecked mutable reference of the inner fields of NodeBody::SysRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_expand_mut(&mut self) -> Option<&mut ExpandNode>
pub fn as_expand_mut(&mut self) -> Option<&mut ExpandNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Expand, otherwise None
Sourcepub fn as_expand(&self) -> Option<&ExpandNode>
pub fn as_expand(&self) -> Option<&ExpandNode>
Optionally returns references to the inner fields if this is a NodeBody::Expand, otherwise None
Sourcepub fn into_expand(self) -> Result<ExpandNode, Self>
pub fn into_expand(self) -> Result<ExpandNode, Self>
Returns the inner fields if this is a NodeBody::Expand, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_expand_unchecked(self) -> ExpandNode
pub unsafe fn into_expand_unchecked(self) -> ExpandNode
Unchecked return of the inner fields of NodeBody::Expand.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_expand_unchecked(&self) -> &ExpandNode
pub unsafe fn as_expand_unchecked(&self) -> &ExpandNode
Unchecked reference of the inner fields of NodeBody::Expand.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_expand_mut_unchecked(&mut self) -> &mut ExpandNode
pub unsafe fn as_expand_mut_unchecked(&mut self) -> &mut ExpandNode
Unchecked mutable reference of the inner fields of NodeBody::Expand.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_local_lookup_join(&self) -> bool
pub fn is_local_lookup_join(&self) -> bool
Returns true if this is a NodeBody::LocalLookupJoin, otherwise false
Sourcepub fn as_local_lookup_join_mut(&mut self) -> Option<&mut LocalLookupJoinNode>
pub fn as_local_lookup_join_mut(&mut self) -> Option<&mut LocalLookupJoinNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::LocalLookupJoin, otherwise None
Sourcepub fn as_local_lookup_join(&self) -> Option<&LocalLookupJoinNode>
pub fn as_local_lookup_join(&self) -> Option<&LocalLookupJoinNode>
Optionally returns references to the inner fields if this is a NodeBody::LocalLookupJoin, otherwise None
Sourcepub fn into_local_lookup_join(self) -> Result<LocalLookupJoinNode, Self>
pub fn into_local_lookup_join(self) -> Result<LocalLookupJoinNode, Self>
Returns the inner fields if this is a NodeBody::LocalLookupJoin, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_local_lookup_join_unchecked(self) -> LocalLookupJoinNode
pub unsafe fn into_local_lookup_join_unchecked(self) -> LocalLookupJoinNode
Unchecked return of the inner fields of NodeBody::LocalLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_local_lookup_join_unchecked(&self) -> &LocalLookupJoinNode
pub unsafe fn as_local_lookup_join_unchecked(&self) -> &LocalLookupJoinNode
Unchecked reference of the inner fields of NodeBody::LocalLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_local_lookup_join_mut_unchecked(
&mut self,
) -> &mut LocalLookupJoinNode
pub unsafe fn as_local_lookup_join_mut_unchecked( &mut self, ) -> &mut LocalLookupJoinNode
Unchecked mutable reference of the inner fields of NodeBody::LocalLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_project_set(&self) -> bool
pub fn is_project_set(&self) -> bool
Returns true if this is a NodeBody::ProjectSet, otherwise false
Sourcepub fn as_project_set_mut(&mut self) -> Option<&mut ProjectSetNode>
pub fn as_project_set_mut(&mut self) -> Option<&mut ProjectSetNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::ProjectSet, otherwise None
Sourcepub fn as_project_set(&self) -> Option<&ProjectSetNode>
pub fn as_project_set(&self) -> Option<&ProjectSetNode>
Optionally returns references to the inner fields if this is a NodeBody::ProjectSet, otherwise None
Sourcepub fn into_project_set(self) -> Result<ProjectSetNode, Self>
pub fn into_project_set(self) -> Result<ProjectSetNode, Self>
Returns the inner fields if this is a NodeBody::ProjectSet, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_project_set_unchecked(self) -> ProjectSetNode
pub unsafe fn into_project_set_unchecked(self) -> ProjectSetNode
Unchecked return of the inner fields of NodeBody::ProjectSet.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_project_set_unchecked(&self) -> &ProjectSetNode
pub unsafe fn as_project_set_unchecked(&self) -> &ProjectSetNode
Unchecked reference of the inner fields of NodeBody::ProjectSet.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_project_set_mut_unchecked(&mut self) -> &mut ProjectSetNode
pub unsafe fn as_project_set_mut_unchecked(&mut self) -> &mut ProjectSetNode
Unchecked mutable reference of the inner fields of NodeBody::ProjectSet.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_union_mut(&mut self) -> Option<&mut UnionNode>
pub fn as_union_mut(&mut self) -> Option<&mut UnionNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Union, otherwise None
Sourcepub fn as_union(&self) -> Option<&UnionNode>
pub fn as_union(&self) -> Option<&UnionNode>
Optionally returns references to the inner fields if this is a NodeBody::Union, otherwise None
Sourcepub fn into_union(self) -> Result<UnionNode, Self>
pub fn into_union(self) -> Result<UnionNode, Self>
Returns the inner fields if this is a NodeBody::Union, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_union_unchecked(self) -> UnionNode
pub unsafe fn into_union_unchecked(self) -> UnionNode
Unchecked return of the inner fields of NodeBody::Union.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_union_unchecked(&self) -> &UnionNode
pub unsafe fn as_union_unchecked(&self) -> &UnionNode
Unchecked reference of the inner fields of NodeBody::Union.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_union_mut_unchecked(&mut self) -> &mut UnionNode
pub unsafe fn as_union_mut_unchecked(&mut self) -> &mut UnionNode
Unchecked mutable reference of the inner fields of NodeBody::Union.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_group_top_n(&self) -> bool
pub fn is_group_top_n(&self) -> bool
Returns true if this is a NodeBody::GroupTopN, otherwise false
Sourcepub fn as_group_top_n_mut(&mut self) -> Option<&mut GroupTopNNode>
pub fn as_group_top_n_mut(&mut self) -> Option<&mut GroupTopNNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::GroupTopN, otherwise None
Sourcepub fn as_group_top_n(&self) -> Option<&GroupTopNNode>
pub fn as_group_top_n(&self) -> Option<&GroupTopNNode>
Optionally returns references to the inner fields if this is a NodeBody::GroupTopN, otherwise None
Sourcepub fn into_group_top_n(self) -> Result<GroupTopNNode, Self>
pub fn into_group_top_n(self) -> Result<GroupTopNNode, Self>
Returns the inner fields if this is a NodeBody::GroupTopN, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_group_top_n_unchecked(self) -> GroupTopNNode
pub unsafe fn into_group_top_n_unchecked(self) -> GroupTopNNode
Unchecked return of the inner fields of NodeBody::GroupTopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_group_top_n_unchecked(&self) -> &GroupTopNNode
pub unsafe fn as_group_top_n_unchecked(&self) -> &GroupTopNNode
Unchecked reference of the inner fields of NodeBody::GroupTopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_group_top_n_mut_unchecked(&mut self) -> &mut GroupTopNNode
pub unsafe fn as_group_top_n_mut_unchecked(&mut self) -> &mut GroupTopNNode
Unchecked mutable reference of the inner fields of NodeBody::GroupTopN.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_distributed_lookup_join(&self) -> bool
pub fn is_distributed_lookup_join(&self) -> bool
Returns true if this is a NodeBody::DistributedLookupJoin, otherwise false
Sourcepub fn as_distributed_lookup_join_mut(
&mut self,
) -> Option<&mut DistributedLookupJoinNode>
pub fn as_distributed_lookup_join_mut( &mut self, ) -> Option<&mut DistributedLookupJoinNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::DistributedLookupJoin, otherwise None
Sourcepub fn as_distributed_lookup_join(&self) -> Option<&DistributedLookupJoinNode>
pub fn as_distributed_lookup_join(&self) -> Option<&DistributedLookupJoinNode>
Optionally returns references to the inner fields if this is a NodeBody::DistributedLookupJoin, otherwise None
Sourcepub fn into_distributed_lookup_join(
self,
) -> Result<DistributedLookupJoinNode, Self>
pub fn into_distributed_lookup_join( self, ) -> Result<DistributedLookupJoinNode, Self>
Returns the inner fields if this is a NodeBody::DistributedLookupJoin, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_distributed_lookup_join_unchecked(
self,
) -> DistributedLookupJoinNode
pub unsafe fn into_distributed_lookup_join_unchecked( self, ) -> DistributedLookupJoinNode
Unchecked return of the inner fields of NodeBody::DistributedLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_distributed_lookup_join_unchecked(
&self,
) -> &DistributedLookupJoinNode
pub unsafe fn as_distributed_lookup_join_unchecked( &self, ) -> &DistributedLookupJoinNode
Unchecked reference of the inner fields of NodeBody::DistributedLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_distributed_lookup_join_mut_unchecked(
&mut self,
) -> &mut DistributedLookupJoinNode
pub unsafe fn as_distributed_lookup_join_mut_unchecked( &mut self, ) -> &mut DistributedLookupJoinNode
Unchecked mutable reference of the inner fields of NodeBody::DistributedLookupJoin.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn as_source_mut(&mut self) -> Option<&mut SourceNode>
pub fn as_source_mut(&mut self) -> Option<&mut SourceNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::Source, otherwise None
Sourcepub fn as_source(&self) -> Option<&SourceNode>
pub fn as_source(&self) -> Option<&SourceNode>
Optionally returns references to the inner fields if this is a NodeBody::Source, otherwise None
Sourcepub fn into_source(self) -> Result<SourceNode, Self>
pub fn into_source(self) -> Result<SourceNode, Self>
Returns the inner fields if this is a NodeBody::Source, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_source_unchecked(self) -> SourceNode
pub unsafe fn into_source_unchecked(self) -> SourceNode
Unchecked return of the inner fields of NodeBody::Source.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_source_unchecked(&self) -> &SourceNode
pub unsafe fn as_source_unchecked(&self) -> &SourceNode
Unchecked reference of the inner fields of NodeBody::Source.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_source_mut_unchecked(&mut self) -> &mut SourceNode
pub unsafe fn as_source_mut_unchecked(&mut self) -> &mut SourceNode
Unchecked mutable reference of the inner fields of NodeBody::Source.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_sort_over_window(&self) -> bool
pub fn is_sort_over_window(&self) -> bool
Returns true if this is a NodeBody::SortOverWindow, otherwise false
Sourcepub fn as_sort_over_window_mut(&mut self) -> Option<&mut SortOverWindowNode>
pub fn as_sort_over_window_mut(&mut self) -> Option<&mut SortOverWindowNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::SortOverWindow, otherwise None
Sourcepub fn as_sort_over_window(&self) -> Option<&SortOverWindowNode>
pub fn as_sort_over_window(&self) -> Option<&SortOverWindowNode>
Optionally returns references to the inner fields if this is a NodeBody::SortOverWindow, otherwise None
Sourcepub fn into_sort_over_window(self) -> Result<SortOverWindowNode, Self>
pub fn into_sort_over_window(self) -> Result<SortOverWindowNode, Self>
Returns the inner fields if this is a NodeBody::SortOverWindow, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_sort_over_window_unchecked(self) -> SortOverWindowNode
pub unsafe fn into_sort_over_window_unchecked(self) -> SortOverWindowNode
Unchecked return of the inner fields of NodeBody::SortOverWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_over_window_unchecked(&self) -> &SortOverWindowNode
pub unsafe fn as_sort_over_window_unchecked(&self) -> &SortOverWindowNode
Unchecked reference of the inner fields of NodeBody::SortOverWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_sort_over_window_mut_unchecked(
&mut self,
) -> &mut SortOverWindowNode
pub unsafe fn as_sort_over_window_mut_unchecked( &mut self, ) -> &mut SortOverWindowNode
Unchecked mutable reference of the inner fields of NodeBody::SortOverWindow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_max_one_row(&self) -> bool
pub fn is_max_one_row(&self) -> bool
Returns true if this is a NodeBody::MaxOneRow, otherwise false
Sourcepub fn as_max_one_row_mut(&mut self) -> Option<&mut MaxOneRowNode>
pub fn as_max_one_row_mut(&mut self) -> Option<&mut MaxOneRowNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::MaxOneRow, otherwise None
Sourcepub fn as_max_one_row(&self) -> Option<&MaxOneRowNode>
pub fn as_max_one_row(&self) -> Option<&MaxOneRowNode>
Optionally returns references to the inner fields if this is a NodeBody::MaxOneRow, otherwise None
Sourcepub fn into_max_one_row(self) -> Result<MaxOneRowNode, Self>
pub fn into_max_one_row(self) -> Result<MaxOneRowNode, Self>
Returns the inner fields if this is a NodeBody::MaxOneRow, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_max_one_row_unchecked(self) -> MaxOneRowNode
pub unsafe fn into_max_one_row_unchecked(self) -> MaxOneRowNode
Unchecked return of the inner fields of NodeBody::MaxOneRow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_max_one_row_unchecked(&self) -> &MaxOneRowNode
pub unsafe fn as_max_one_row_unchecked(&self) -> &MaxOneRowNode
Unchecked reference of the inner fields of NodeBody::MaxOneRow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_max_one_row_mut_unchecked(&mut self) -> &mut MaxOneRowNode
pub unsafe fn as_max_one_row_mut_unchecked(&mut self) -> &mut MaxOneRowNode
Unchecked mutable reference of the inner fields of NodeBody::MaxOneRow.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_log_row_seq_scan(&self) -> bool
pub fn is_log_row_seq_scan(&self) -> bool
Returns true if this is a NodeBody::LogRowSeqScan, otherwise false
Sourcepub fn as_log_row_seq_scan_mut(&mut self) -> Option<&mut LogRowSeqScanNode>
pub fn as_log_row_seq_scan_mut(&mut self) -> Option<&mut LogRowSeqScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::LogRowSeqScan, otherwise None
Sourcepub fn as_log_row_seq_scan(&self) -> Option<&LogRowSeqScanNode>
pub fn as_log_row_seq_scan(&self) -> Option<&LogRowSeqScanNode>
Optionally returns references to the inner fields if this is a NodeBody::LogRowSeqScan, otherwise None
Sourcepub fn into_log_row_seq_scan(self) -> Result<LogRowSeqScanNode, Self>
pub fn into_log_row_seq_scan(self) -> Result<LogRowSeqScanNode, Self>
Returns the inner fields if this is a NodeBody::LogRowSeqScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_log_row_seq_scan_unchecked(self) -> LogRowSeqScanNode
pub unsafe fn into_log_row_seq_scan_unchecked(self) -> LogRowSeqScanNode
Unchecked return of the inner fields of NodeBody::LogRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_log_row_seq_scan_unchecked(&self) -> &LogRowSeqScanNode
pub unsafe fn as_log_row_seq_scan_unchecked(&self) -> &LogRowSeqScanNode
Unchecked reference of the inner fields of NodeBody::LogRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_log_row_seq_scan_mut_unchecked(
&mut self,
) -> &mut LogRowSeqScanNode
pub unsafe fn as_log_row_seq_scan_mut_unchecked( &mut self, ) -> &mut LogRowSeqScanNode
Unchecked mutable reference of the inner fields of NodeBody::LogRowSeqScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_file_scan(&self) -> bool
pub fn is_file_scan(&self) -> bool
Returns true if this is a NodeBody::FileScan, otherwise false
Sourcepub fn as_file_scan_mut(&mut self) -> Option<&mut FileScanNode>
pub fn as_file_scan_mut(&mut self) -> Option<&mut FileScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::FileScan, otherwise None
Sourcepub fn as_file_scan(&self) -> Option<&FileScanNode>
pub fn as_file_scan(&self) -> Option<&FileScanNode>
Optionally returns references to the inner fields if this is a NodeBody::FileScan, otherwise None
Sourcepub fn into_file_scan(self) -> Result<FileScanNode, Self>
pub fn into_file_scan(self) -> Result<FileScanNode, Self>
Returns the inner fields if this is a NodeBody::FileScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_file_scan_unchecked(self) -> FileScanNode
pub unsafe fn into_file_scan_unchecked(self) -> FileScanNode
Unchecked return of the inner fields of NodeBody::FileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_file_scan_unchecked(&self) -> &FileScanNode
pub unsafe fn as_file_scan_unchecked(&self) -> &FileScanNode
Unchecked reference of the inner fields of NodeBody::FileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_file_scan_mut_unchecked(&mut self) -> &mut FileScanNode
pub unsafe fn as_file_scan_mut_unchecked(&mut self) -> &mut FileScanNode
Unchecked mutable reference of the inner fields of NodeBody::FileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_iceberg_scan(&self) -> bool
pub fn is_iceberg_scan(&self) -> bool
Returns true if this is a NodeBody::IcebergScan, otherwise false
Sourcepub fn as_iceberg_scan_mut(&mut self) -> Option<&mut IcebergScanNode>
pub fn as_iceberg_scan_mut(&mut self) -> Option<&mut IcebergScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::IcebergScan, otherwise None
Sourcepub fn as_iceberg_scan(&self) -> Option<&IcebergScanNode>
pub fn as_iceberg_scan(&self) -> Option<&IcebergScanNode>
Optionally returns references to the inner fields if this is a NodeBody::IcebergScan, otherwise None
Sourcepub fn into_iceberg_scan(self) -> Result<IcebergScanNode, Self>
pub fn into_iceberg_scan(self) -> Result<IcebergScanNode, Self>
Returns the inner fields if this is a NodeBody::IcebergScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_iceberg_scan_unchecked(self) -> IcebergScanNode
pub unsafe fn into_iceberg_scan_unchecked(self) -> IcebergScanNode
Unchecked return of the inner fields of NodeBody::IcebergScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_iceberg_scan_unchecked(&self) -> &IcebergScanNode
pub unsafe fn as_iceberg_scan_unchecked(&self) -> &IcebergScanNode
Unchecked reference of the inner fields of NodeBody::IcebergScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_iceberg_scan_mut_unchecked(&mut self) -> &mut IcebergScanNode
pub unsafe fn as_iceberg_scan_mut_unchecked(&mut self) -> &mut IcebergScanNode
Unchecked mutable reference of the inner fields of NodeBody::IcebergScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_postgres_query(&self) -> bool
pub fn is_postgres_query(&self) -> bool
Returns true if this is a NodeBody::PostgresQuery, otherwise false
Sourcepub fn as_postgres_query_mut(&mut self) -> Option<&mut PostgresQueryNode>
pub fn as_postgres_query_mut(&mut self) -> Option<&mut PostgresQueryNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::PostgresQuery, otherwise None
Sourcepub fn as_postgres_query(&self) -> Option<&PostgresQueryNode>
pub fn as_postgres_query(&self) -> Option<&PostgresQueryNode>
Optionally returns references to the inner fields if this is a NodeBody::PostgresQuery, otherwise None
Sourcepub fn into_postgres_query(self) -> Result<PostgresQueryNode, Self>
pub fn into_postgres_query(self) -> Result<PostgresQueryNode, Self>
Returns the inner fields if this is a NodeBody::PostgresQuery, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_postgres_query_unchecked(self) -> PostgresQueryNode
pub unsafe fn into_postgres_query_unchecked(self) -> PostgresQueryNode
Unchecked return of the inner fields of NodeBody::PostgresQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_postgres_query_unchecked(&self) -> &PostgresQueryNode
pub unsafe fn as_postgres_query_unchecked(&self) -> &PostgresQueryNode
Unchecked reference of the inner fields of NodeBody::PostgresQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_postgres_query_mut_unchecked(
&mut self,
) -> &mut PostgresQueryNode
pub unsafe fn as_postgres_query_mut_unchecked( &mut self, ) -> &mut PostgresQueryNode
Unchecked mutable reference of the inner fields of NodeBody::PostgresQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_mysql_query(&self) -> bool
pub fn is_mysql_query(&self) -> bool
Returns true if this is a NodeBody::MysqlQuery, otherwise false
Sourcepub fn as_mysql_query_mut(&mut self) -> Option<&mut MySqlQueryNode>
pub fn as_mysql_query_mut(&mut self) -> Option<&mut MySqlQueryNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::MysqlQuery, otherwise None
Sourcepub fn as_mysql_query(&self) -> Option<&MySqlQueryNode>
pub fn as_mysql_query(&self) -> Option<&MySqlQueryNode>
Optionally returns references to the inner fields if this is a NodeBody::MysqlQuery, otherwise None
Sourcepub fn into_mysql_query(self) -> Result<MySqlQueryNode, Self>
pub fn into_mysql_query(self) -> Result<MySqlQueryNode, Self>
Returns the inner fields if this is a NodeBody::MysqlQuery, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_mysql_query_unchecked(self) -> MySqlQueryNode
pub unsafe fn into_mysql_query_unchecked(self) -> MySqlQueryNode
Unchecked return of the inner fields of NodeBody::MysqlQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_mysql_query_unchecked(&self) -> &MySqlQueryNode
pub unsafe fn as_mysql_query_unchecked(&self) -> &MySqlQueryNode
Unchecked reference of the inner fields of NodeBody::MysqlQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_mysql_query_mut_unchecked(&mut self) -> &mut MySqlQueryNode
pub unsafe fn as_mysql_query_mut_unchecked(&mut self) -> &mut MySqlQueryNode
Unchecked mutable reference of the inner fields of NodeBody::MysqlQuery.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_gcs_file_scan(&self) -> bool
pub fn is_gcs_file_scan(&self) -> bool
Returns true if this is a NodeBody::GcsFileScan, otherwise false
Sourcepub fn as_gcs_file_scan_mut(&mut self) -> Option<&mut GcsFileScanNode>
pub fn as_gcs_file_scan_mut(&mut self) -> Option<&mut GcsFileScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::GcsFileScan, otherwise None
Sourcepub fn as_gcs_file_scan(&self) -> Option<&GcsFileScanNode>
pub fn as_gcs_file_scan(&self) -> Option<&GcsFileScanNode>
Optionally returns references to the inner fields if this is a NodeBody::GcsFileScan, otherwise None
Sourcepub fn into_gcs_file_scan(self) -> Result<GcsFileScanNode, Self>
pub fn into_gcs_file_scan(self) -> Result<GcsFileScanNode, Self>
Returns the inner fields if this is a NodeBody::GcsFileScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_gcs_file_scan_unchecked(self) -> GcsFileScanNode
pub unsafe fn into_gcs_file_scan_unchecked(self) -> GcsFileScanNode
Unchecked return of the inner fields of NodeBody::GcsFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_gcs_file_scan_unchecked(&self) -> &GcsFileScanNode
pub unsafe fn as_gcs_file_scan_unchecked(&self) -> &GcsFileScanNode
Unchecked reference of the inner fields of NodeBody::GcsFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_gcs_file_scan_mut_unchecked(&mut self) -> &mut GcsFileScanNode
pub unsafe fn as_gcs_file_scan_mut_unchecked(&mut self) -> &mut GcsFileScanNode
Unchecked mutable reference of the inner fields of NodeBody::GcsFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_azblob_file_scan(&self) -> bool
pub fn is_azblob_file_scan(&self) -> bool
Returns true if this is a NodeBody::AzblobFileScan, otherwise false
Sourcepub fn as_azblob_file_scan_mut(&mut self) -> Option<&mut AzblobFileScanNode>
pub fn as_azblob_file_scan_mut(&mut self) -> Option<&mut AzblobFileScanNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::AzblobFileScan, otherwise None
Sourcepub fn as_azblob_file_scan(&self) -> Option<&AzblobFileScanNode>
pub fn as_azblob_file_scan(&self) -> Option<&AzblobFileScanNode>
Optionally returns references to the inner fields if this is a NodeBody::AzblobFileScan, otherwise None
Sourcepub fn into_azblob_file_scan(self) -> Result<AzblobFileScanNode, Self>
pub fn into_azblob_file_scan(self) -> Result<AzblobFileScanNode, Self>
Returns the inner fields if this is a NodeBody::AzblobFileScan, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_azblob_file_scan_unchecked(self) -> AzblobFileScanNode
pub unsafe fn into_azblob_file_scan_unchecked(self) -> AzblobFileScanNode
Unchecked return of the inner fields of NodeBody::AzblobFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_azblob_file_scan_unchecked(&self) -> &AzblobFileScanNode
pub unsafe fn as_azblob_file_scan_unchecked(&self) -> &AzblobFileScanNode
Unchecked reference of the inner fields of NodeBody::AzblobFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_azblob_file_scan_mut_unchecked(
&mut self,
) -> &mut AzblobFileScanNode
pub unsafe fn as_azblob_file_scan_mut_unchecked( &mut self, ) -> &mut AzblobFileScanNode
Unchecked mutable reference of the inner fields of NodeBody::AzblobFileScan.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_vector_index_nearest(&self) -> bool
pub fn is_vector_index_nearest(&self) -> bool
Returns true if this is a NodeBody::VectorIndexNearest, otherwise false
Sourcepub fn as_vector_index_nearest_mut(
&mut self,
) -> Option<&mut VectorIndexNearestNode>
pub fn as_vector_index_nearest_mut( &mut self, ) -> Option<&mut VectorIndexNearestNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::VectorIndexNearest, otherwise None
Sourcepub fn as_vector_index_nearest(&self) -> Option<&VectorIndexNearestNode>
pub fn as_vector_index_nearest(&self) -> Option<&VectorIndexNearestNode>
Optionally returns references to the inner fields if this is a NodeBody::VectorIndexNearest, otherwise None
Sourcepub fn into_vector_index_nearest(self) -> Result<VectorIndexNearestNode, Self>
pub fn into_vector_index_nearest(self) -> Result<VectorIndexNearestNode, Self>
Returns the inner fields if this is a NodeBody::VectorIndexNearest, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_vector_index_nearest_unchecked(
self,
) -> VectorIndexNearestNode
pub unsafe fn into_vector_index_nearest_unchecked( self, ) -> VectorIndexNearestNode
Unchecked return of the inner fields of NodeBody::VectorIndexNearest.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_vector_index_nearest_unchecked(
&self,
) -> &VectorIndexNearestNode
pub unsafe fn as_vector_index_nearest_unchecked( &self, ) -> &VectorIndexNearestNode
Unchecked reference of the inner fields of NodeBody::VectorIndexNearest.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_vector_index_nearest_mut_unchecked(
&mut self,
) -> &mut VectorIndexNearestNode
pub unsafe fn as_vector_index_nearest_mut_unchecked( &mut self, ) -> &mut VectorIndexNearestNode
Unchecked mutable reference of the inner fields of NodeBody::VectorIndexNearest.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_get_channel_delta_stats(&self) -> bool
pub fn is_get_channel_delta_stats(&self) -> bool
Returns true if this is a NodeBody::GetChannelDeltaStats, otherwise false
Sourcepub fn as_get_channel_delta_stats_mut(
&mut self,
) -> Option<&mut GetChannelDeltaStatsNode>
pub fn as_get_channel_delta_stats_mut( &mut self, ) -> Option<&mut GetChannelDeltaStatsNode>
Optionally returns mutable references to the inner fields if this is a NodeBody::GetChannelDeltaStats, otherwise None
Sourcepub fn as_get_channel_delta_stats(&self) -> Option<&GetChannelDeltaStatsNode>
pub fn as_get_channel_delta_stats(&self) -> Option<&GetChannelDeltaStatsNode>
Optionally returns references to the inner fields if this is a NodeBody::GetChannelDeltaStats, otherwise None
Sourcepub fn into_get_channel_delta_stats(
self,
) -> Result<GetChannelDeltaStatsNode, Self>
pub fn into_get_channel_delta_stats( self, ) -> Result<GetChannelDeltaStatsNode, Self>
Returns the inner fields if this is a NodeBody::GetChannelDeltaStats, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_get_channel_delta_stats_unchecked(
self,
) -> GetChannelDeltaStatsNode
pub unsafe fn into_get_channel_delta_stats_unchecked( self, ) -> GetChannelDeltaStatsNode
Unchecked return of the inner fields of NodeBody::GetChannelDeltaStats.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_get_channel_delta_stats_unchecked(
&self,
) -> &GetChannelDeltaStatsNode
pub unsafe fn as_get_channel_delta_stats_unchecked( &self, ) -> &GetChannelDeltaStatsNode
Unchecked reference of the inner fields of NodeBody::GetChannelDeltaStats.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_get_channel_delta_stats_mut_unchecked(
&mut self,
) -> &mut GetChannelDeltaStatsNode
pub unsafe fn as_get_channel_delta_stats_mut_unchecked( &mut self, ) -> &mut GetChannelDeltaStatsNode
Unchecked mutable reference of the inner fields of NodeBody::GetChannelDeltaStats.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_block_executor(&self) -> bool
pub fn is_block_executor(&self) -> bool
Returns true if this is a NodeBody::BlockExecutor, otherwise false
Sourcepub fn as_block_executor_mut(&mut self) -> Option<&mut bool>
pub fn as_block_executor_mut(&mut self) -> Option<&mut bool>
Optionally returns mutable references to the inner fields if this is a NodeBody::BlockExecutor, otherwise None
Sourcepub fn as_block_executor(&self) -> Option<&bool>
pub fn as_block_executor(&self) -> Option<&bool>
Optionally returns references to the inner fields if this is a NodeBody::BlockExecutor, otherwise None
Sourcepub fn into_block_executor(self) -> Result<bool, Self>
pub fn into_block_executor(self) -> Result<bool, Self>
Returns the inner fields if this is a NodeBody::BlockExecutor, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_block_executor_unchecked(self) -> bool
pub unsafe fn into_block_executor_unchecked(self) -> bool
Unchecked return of the inner fields of NodeBody::BlockExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_block_executor_unchecked(&self) -> &bool
pub unsafe fn as_block_executor_unchecked(&self) -> &bool
Unchecked reference of the inner fields of NodeBody::BlockExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_block_executor_mut_unchecked(&mut self) -> &mut bool
pub unsafe fn as_block_executor_mut_unchecked(&mut self) -> &mut bool
Unchecked mutable reference of the inner fields of NodeBody::BlockExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub fn is_busy_loop_executor(&self) -> bool
pub fn is_busy_loop_executor(&self) -> bool
Returns true if this is a NodeBody::BusyLoopExecutor, otherwise false
Sourcepub fn as_busy_loop_executor_mut(&mut self) -> Option<&mut bool>
pub fn as_busy_loop_executor_mut(&mut self) -> Option<&mut bool>
Optionally returns mutable references to the inner fields if this is a NodeBody::BusyLoopExecutor, otherwise None
Sourcepub fn as_busy_loop_executor(&self) -> Option<&bool>
pub fn as_busy_loop_executor(&self) -> Option<&bool>
Optionally returns references to the inner fields if this is a NodeBody::BusyLoopExecutor, otherwise None
Sourcepub fn into_busy_loop_executor(self) -> Result<bool, Self>
pub fn into_busy_loop_executor(self) -> Result<bool, Self>
Returns the inner fields if this is a NodeBody::BusyLoopExecutor, otherwise returns back the enum in the Err case of the result
Sourcepub unsafe fn into_busy_loop_executor_unchecked(self) -> bool
pub unsafe fn into_busy_loop_executor_unchecked(self) -> bool
Unchecked return of the inner fields of NodeBody::BusyLoopExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_busy_loop_executor_unchecked(&self) -> &bool
pub unsafe fn as_busy_loop_executor_unchecked(&self) -> &bool
Unchecked reference of the inner fields of NodeBody::BusyLoopExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Sourcepub unsafe fn as_busy_loop_executor_mut_unchecked(&mut self) -> &mut bool
pub unsafe fn as_busy_loop_executor_mut_unchecked(&mut self) -> &mut bool
Unchecked mutable reference of the inner fields of NodeBody::BusyLoopExecutor.
§Safety
Results in undefined behavior when it is the incorrect variant.
Trait Implementations§
Source§impl<'_enum> From<&'_enum NodeBody> for NodeBodyDiscriminants
impl<'_enum> From<&'_enum NodeBody> for NodeBodyDiscriminants
Source§fn from(val: &'_enum NodeBody) -> NodeBodyDiscriminants
fn from(val: &'_enum NodeBody) -> NodeBodyDiscriminants
Source§impl From<NodeBody> for NodeBodyDiscriminants
impl From<NodeBody> for NodeBodyDiscriminants
Source§fn from(val: NodeBody) -> NodeBodyDiscriminants
fn from(val: NodeBody) -> NodeBodyDiscriminants
Source§impl IntoDiscriminant for NodeBody
impl IntoDiscriminant for NodeBody
Source§type Discriminant = NodeBodyDiscriminants
type Discriminant = NodeBodyDiscriminants
fn discriminant(&self) -> Self::Discriminant
impl StructuralPartialEq for NodeBody
Auto Trait Implementations§
impl Freeze for NodeBody
impl RefUnwindSafe for NodeBody
impl Send for NodeBody
impl Sync for NodeBody
impl Unpin for NodeBody
impl UnwindSafe for NodeBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Any.§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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§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.