pub trait NoteWrite: Note{
// Provided methods
fn flush_content(
&self,
open_option: &OpenOptions,
) -> Result<(), Self::Error> { ... }
fn flush_properties(
&self,
open_option: &OpenOptions,
) -> Result<(), Self::Error> { ... }
fn flush(&self, open_option: &OpenOptions) -> Result<(), Self::Error> { ... }
}Available on non-
target_family=wasm only.Expand description
Note support write operation
Provided Methods§
Sourcefn flush_content(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
fn flush_content(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
Flush only content
Ignore if path is None
Sourcefn flush_properties(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
fn flush_properties(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
Flush only content
Ignore if path is None
Sourcefn flush(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
fn flush(&self, open_option: &OpenOptions) -> Result<(), Self::Error>
Flush Note to Note::path
Ignore if path is None
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.