pub struct ObjectStoragePlugin { /* private fields */ }Implementations§
Source§impl ObjectStoragePlugin
impl ObjectStoragePlugin
pub fn new(store: Arc<dyn ObjectStore>) -> Self
pub fn memory() -> Self
pub fn with_access_signer(self, signer: Arc<dyn ObjectAccessSigner>) -> Self
Trait Implementations§
Source§impl Clone for ObjectStoragePlugin
impl Clone for ObjectStoragePlugin
Source§fn clone(&self) -> ObjectStoragePlugin
fn clone(&self) -> ObjectStoragePlugin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectStoragePlugin
impl Debug for ObjectStoragePlugin
Source§impl Plugin for ObjectStoragePlugin
impl Plugin for ObjectStoragePlugin
fn descriptor(&self) -> PluginDescriptor
fn install(&self, context: &mut PluginContext<'_>) -> Result<(), PluginError>
Source§fn configure_descriptor(
&self,
_descriptor: &mut PluginDescriptor,
_configuration: Option<&Value>,
) -> Result<(), PluginError>
fn configure_descriptor( &self, _descriptor: &mut PluginDescriptor, _configuration: Option<&Value>, ) -> Result<(), PluginError>
Adjusts graph metadata from the plugin’s validated runtime configuration. Read more
Source§fn finalize(
&self,
_context: &mut PluginFinalizeContext<'_>,
) -> Result<(), PluginError>
fn finalize( &self, _context: &mut PluginFinalizeContext<'_>, ) -> Result<(), PluginError>
Completes composition after every enabled plugin has installed its services and
contributions. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectStoragePlugin
impl !UnwindSafe for ObjectStoragePlugin
impl Freeze for ObjectStoragePlugin
impl Send for ObjectStoragePlugin
impl Sync for ObjectStoragePlugin
impl Unpin for ObjectStoragePlugin
impl UnsafeUnpin for ObjectStoragePlugin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more