Enum substrait_validator::input::proto::substrait::expression::cast::FailureBehavior
source · [−]#[repr(i32)]
pub enum FailureBehavior {
Unspecified,
ReturnNull,
ThrowException,
}Variants
Unspecified
ReturnNull
ThrowException
Implementations
Trait Implementations
sourceimpl Clone for FailureBehavior
impl Clone for FailureBehavior
sourcefn clone(&self) -> FailureBehavior
fn clone(&self) -> FailureBehavior
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FailureBehavior
impl Debug for FailureBehavior
sourceimpl Default for FailureBehavior
impl Default for FailureBehavior
sourcefn default() -> FailureBehavior
fn default() -> FailureBehavior
Returns the “default value” for a type. Read more
sourceimpl From<FailureBehavior> for i32
impl From<FailureBehavior> for i32
sourcefn from(value: FailureBehavior) -> i32
fn from(value: FailureBehavior) -> i32
Converts to this type from the input type.
sourceimpl Hash for FailureBehavior
impl Hash for FailureBehavior
sourceimpl Ord for FailureBehavior
impl Ord for FailureBehavior
sourceimpl PartialEq<FailureBehavior> for FailureBehavior
impl PartialEq<FailureBehavior> for FailureBehavior
sourceimpl PartialOrd<FailureBehavior> for FailureBehavior
impl PartialOrd<FailureBehavior> for FailureBehavior
sourcefn partial_cmp(&self, other: &FailureBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &FailureBehavior) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl ProtoEnum for FailureBehavior
impl ProtoEnum for FailureBehavior
sourcefn proto_enum_type() -> &'static str
fn proto_enum_type() -> &'static str
Returns the protobuf type name for enums of this type.
sourcefn proto_enum_default_variant() -> &'static str
fn proto_enum_default_variant() -> &'static str
Returns the name of the default variant of an enum.
sourcefn proto_enum_variant(&self) -> &'static str
fn proto_enum_variant(&self) -> &'static str
Returns the name of the selected variant of an enum.
sourcefn proto_enum_from_i32(x: i32) -> Option<Self>
fn proto_enum_from_i32(x: i32) -> Option<Self>
Returns the enumeration entry corresponding to the given integer value, if any. Read more
impl Copy for FailureBehavior
impl Eq for FailureBehavior
impl StructuralEq for FailureBehavior
impl StructuralPartialEq for FailureBehavior
Auto Trait Implementations
impl RefUnwindSafe for FailureBehavior
impl Send for FailureBehavior
impl Sync for FailureBehavior
impl Unpin for FailureBehavior
impl UnwindSafe for FailureBehavior
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> InputNode for T where
T: ProtoPrimitive,
impl<T> InputNode for T where
T: ProtoPrimitive,
sourcefn type_to_node() -> Node
fn type_to_node() -> Node
Creates an empty output node for a protobuf datum of this type. Read more
sourcefn data_to_node(&self) -> Node
fn data_to_node(&self) -> Node
Creates an empty output node for a protobuf datum with this value.
sourcefn oneof_variant(&self) -> Option<&'static str>
fn oneof_variant(&self) -> Option<&'static str>
Returns the name of the selected variant of a oneof field, if this is a rust enum used to represent a oneof field. Read more
sourcefn parse_unknown(&self, _context: &mut Context<'_>) -> bool
fn parse_unknown(&self, _context: &mut Context<'_>) -> bool
Complete the subtrees of this datum in output that have not already been parsed using UnknownField nodes. Returns whether any such nodes were added. Read more
sourceimpl<T> ProtoPrimitive for T where
T: ProtoEnum,
impl<T> ProtoPrimitive for T where
T: ProtoEnum,
sourcefn proto_primitive_type() -> &'static str
fn proto_primitive_type() -> &'static str
Returns the protobuf type name for primitives of this type.
sourcefn proto_primitive_default() -> PrimitiveData
fn proto_primitive_default() -> PrimitiveData
Returns the protobuf-specified default value for this primitive data type. Read more
sourcefn proto_primitive_data(&self) -> PrimitiveData
fn proto_primitive_data(&self) -> PrimitiveData
Returns the actual value for this primitive data type as a ProtoPrimitiveData variant. Read more
sourcefn proto_primitive_is_default(&self) -> bool
fn proto_primitive_is_default(&self) -> bool
Returns whether this is the default value of the primitive.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more