Struct icu_provider_fs::export::fs_exporter::FilesystemExporter
source · [−]pub struct FilesystemExporter { /* private fields */ }
Expand description
A data exporter that writes data to a filesystem hierarchy. See the module-level docs for an example.
Implementations
sourceimpl FilesystemExporter
impl FilesystemExporter
pub fn try_new(
serializer: Box<dyn AbstractSerializer + Sync>,
options: ExporterOptions
) -> Result<Self, Error>
Trait Implementations
sourceimpl DataExporter<SerializeMarker> for FilesystemExporter
impl DataExporter<SerializeMarker> for FilesystemExporter
sourcefn put_payload(
&self,
key: ResourceKey,
options: ResourceOptions,
obj: DataPayload<SerializeMarker>
) -> Result<(), DataError>
fn put_payload(
&self,
key: ResourceKey,
options: ResourceOptions,
obj: DataPayload<SerializeMarker>
) -> Result<(), DataError>
Save a payload
corresponding to the given key and options.
Takes non-mut self as it can be called concurrently. Read more
Auto Trait Implementations
impl !RefUnwindSafe for FilesystemExporter
impl !Send for FilesystemExporter
impl Sync for FilesystemExporter
impl Unpin for FilesystemExporter
impl !UnwindSafe for FilesystemExporter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more