pub unsafe fn complete(cb: @CompletionCb)
Bind to the main completion callback in the current task.
The completion callback should not call any extra::rl
functions
other than the closure that it receives as its second
argument. Calling such a function will deadlock on the mutex used
to ensure that the calls are thread-safe.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).