Lyricdev
GitHub

interface Closeable

pub interface Closeable

A resource that a using let binding closes when its scope is left.

close() may throw: on a normal exit the error leaves like any other; while another error is in flight it is appended to that one as suppressed.

Methods

fn close(): void throws Error