pub trait AppTxExt {
// Required method
fn announce_and_open(&self, path: VaultPath, created: bool);
}Expand description
Sender helpers for the create-then-open sequence shared by every note-creation site (create dialog, quick note, note browser, sidebar, journal).
Required Methods§
Sourcefn announce_and_open(&self, path: VaultPath, created: bool)
fn announce_and_open(&self, path: VaultPath, created: bool)
Announce a freshly created note so sidebars browsing its directory
refresh, then open it. The notification is gated on created (an
already-existing note needs no refresh); the note is opened regardless.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".