pub enum CallMode {
CalledOnNullInput,
ReturnNullOnNullInput,
}
Expand description
Whether the function will be called when some of its arguments are null.
Variants§
CalledOnNullInput
The function will be called normally when some of its arguments are null. It is then the function author’s responsibility to check for null values if necessary and respond appropriately.
ReturnNullOnNullInput
The function always returns null whenever any of its arguments are null. If this parameter is specified, the function is not executed when there are null arguments; instead a null result is assumed automatically.
Trait Implementations§
Source§impl Ord for CallMode
impl Ord for CallMode
Source§impl PartialOrd for CallMode
impl PartialOrd for CallMode
impl Eq for CallMode
impl StructuralPartialEq for CallMode
Auto Trait Implementations§
impl Freeze for CallMode
impl RefUnwindSafe for CallMode
impl Send for CallMode
impl Sync for CallMode
impl Unpin for CallMode
impl UnwindSafe for CallMode
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