risingwave_expr::expr::build

Trait ExpectExt

source
pub(crate) trait ExpectExt<T> {
    // Required method
    fn expect_str(self, what: &str, s: &str) -> T;
}

Required Methods§

source

fn expect_str(self, what: &str, s: &str) -> T

Implementations on Foreign Types§

source§

impl<T> ExpectExt<T> for Option<T>

source§

fn expect_str(self, what: &str, s: &str) -> T

source§

impl<T, E> ExpectExt<T> for Result<T, E>

source§

fn expect_str(self, what: &str, s: &str) -> T

Implementors§