pub trait ILibraryAppletCreator: IObject {
fn create_library_applet(
&mut self,
applet_id: AppletId,
applet_mode: LibraryAppletMode
) -> Result<Shared<dyn ILibraryAppletAccessor>>;
fn create_storage(&mut self, size: usize) -> Result<Shared<dyn IStorage>>;
fn sf_server_impl_create_library_applet(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_create_storage(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}