pub struct ObjectStoreService { /* private fields */ }Expand description
ObjectStore backend
Trait Implementations§
Source§impl Debug for ObjectStoreService
impl Debug for ObjectStoreService
Source§impl Service for ObjectStoreService
impl Service for ObjectStoreService
Source§fn capability(&self) -> Capability
fn capability(&self) -> Capability
Return the capability of this service stack. Read more
Source§async fn create_dir(
&self,
_: &OperationContext,
_: &str,
_: OpCreateDir,
) -> Result<RpCreateDir>
async fn create_dir( &self, _: &OperationContext, _: &str, _: OpCreateDir, ) -> Result<RpCreateDir>
Invoke the
create operation on the specified path. Read moreSource§async fn stat(
&self,
_ctx: &OperationContext,
path: &str,
args: OpStat,
) -> Result<RpStat>
async fn stat( &self, _ctx: &OperationContext, path: &str, args: OpStat, ) -> Result<RpStat>
Invoke the
stat operation on the specified path. Read moreSource§fn read(
&self,
_ctx: &OperationContext,
path: &str,
args: OpRead,
) -> Result<Self::Reader>
fn read( &self, _ctx: &OperationContext, path: &str, args: OpRead, ) -> Result<Self::Reader>
Invoke the
read operation on the specified path. Read moreSource§fn write(
&self,
ctx: &OperationContext,
path: &str,
args: OpWrite,
) -> Result<Self::Writer>
fn write( &self, ctx: &OperationContext, path: &str, args: OpWrite, ) -> Result<Self::Writer>
Invoke the
write operation on the specified path. Read moreSource§fn delete(&self, _ctx: &OperationContext) -> Result<Self::Deleter>
fn delete(&self, _ctx: &OperationContext) -> Result<Self::Deleter>
Invoke the
delete operation. Read moreSource§fn list(
&self,
_ctx: &OperationContext,
path: &str,
args: OpList,
) -> Result<Self::Lister>
fn list( &self, _ctx: &OperationContext, path: &str, args: OpList, ) -> Result<Self::Lister>
Invoke the
list operation on the specified path. Read moreSource§fn copy(
&self,
_: &OperationContext,
_: &str,
_: &str,
_: OpCopy,
_: OpCopier,
) -> Result<Self::Copier>
fn copy( &self, _: &OperationContext, _: &str, _: &str, _: OpCopy, _: OpCopier, ) -> Result<Self::Copier>
Auto Trait Implementations§
impl Freeze for ObjectStoreService
impl !RefUnwindSafe for ObjectStoreService
impl Send for ObjectStoreService
impl Sync for ObjectStoreService
impl Unpin for ObjectStoreService
impl UnsafeUnpin for ObjectStoreService
impl !UnwindSafe for ObjectStoreService
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<S> ServiceDyn for Swhere
S: Service + ?Sized,
impl<S> ServiceDyn for Swhere
S: Service + ?Sized,
§fn capability_dyn(&self) -> Capability
fn capability_dyn(&self) -> Capability
Dyn version of [
Service::capability].§fn create_dir_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
path: &'a str,
args: OpCreateDir,
) -> Pin<Box<dyn Future<Output = Result<RpCreateDir, Error>> + Send + 'a>>
fn create_dir_dyn<'a>( &'a self, ctx: &'a OperationContext, path: &'a str, args: OpCreateDir, ) -> Pin<Box<dyn Future<Output = Result<RpCreateDir, Error>> + Send + 'a>>
Dyn version of [
Service::create_dir].§fn stat_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
path: &'a str,
args: OpStat,
) -> Pin<Box<dyn Future<Output = Result<RpStat, Error>> + Send + 'a>>
fn stat_dyn<'a>( &'a self, ctx: &'a OperationContext, path: &'a str, args: OpStat, ) -> Pin<Box<dyn Future<Output = Result<RpStat, Error>> + Send + 'a>>
Dyn version of [
Service::stat].§fn read_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
path: &'a str,
args: OpRead,
) -> Result<Box<dyn ReadDyn>, Error>
fn read_dyn<'a>( &'a self, ctx: &'a OperationContext, path: &'a str, args: OpRead, ) -> Result<Box<dyn ReadDyn>, Error>
Dyn version of [
Service::read].§fn write_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
path: &'a str,
args: OpWrite,
) -> Result<Box<dyn WriteDyn>, Error>
fn write_dyn<'a>( &'a self, ctx: &'a OperationContext, path: &'a str, args: OpWrite, ) -> Result<Box<dyn WriteDyn>, Error>
Dyn version of [
Service::write].§fn delete_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
) -> Result<Box<dyn DeleteDyn>, Error>
fn delete_dyn<'a>( &'a self, ctx: &'a OperationContext, ) -> Result<Box<dyn DeleteDyn>, Error>
Dyn version of [
Service::delete].§fn list_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
path: &'a str,
args: OpList,
) -> Result<Box<dyn ListDyn>, Error>
fn list_dyn<'a>( &'a self, ctx: &'a OperationContext, path: &'a str, args: OpList, ) -> Result<Box<dyn ListDyn>, Error>
Dyn version of [
Service::list].§fn copy_dyn<'a>(
&'a self,
ctx: &'a OperationContext,
from: &'a str,
to: &'a str,
args: OpCopy,
opts: OpCopier,
) -> Result<Box<dyn CopyDyn>, Error>
fn copy_dyn<'a>( &'a self, ctx: &'a OperationContext, from: &'a str, to: &'a str, args: OpCopy, opts: OpCopier, ) -> Result<Box<dyn CopyDyn>, Error>
Dyn version of [
Service::copy].