Skip to main content

expect_index

Function expect_index 

Source
fn expect_index(stmt: Statement<Raw>) -> Result<CreateIndexStatement<Raw>, ()>
Expand description

Extract a CreateIndexStatement from a generic Statement, or Err(()).