pub struct Blobd { /* private fields */ }Implementations§
Source§impl Blobd
impl Blobd
pub fn cfg(&self) -> &BlobdCfg
pub fn metrics(&self) -> &Arc<BlobdMetrics>
pub async fn start(&self)
pub async fn get_stream_event( &self, id: u64, ) -> Result<Option<StreamEvent>, StreamEventExpiredError>
pub async fn commit_object( &self, input: OpCommitObjectInput, ) -> OpResult<OpCommitObjectOutput>
pub async fn create_object( &self, input: OpCreateObjectInput, ) -> OpResult<OpCreateObjectOutput>
pub async fn delete_object( &self, input: OpDeleteObjectInput, ) -> OpResult<OpDeleteObjectOutput>
pub async fn inspect_object( &self, input: OpInspectObjectInput, ) -> OpResult<OpInspectObjectOutput>
pub async fn read_object( &self, input: OpReadObjectInput, ) -> OpResult<OpReadObjectOutput>
pub async fn write_object<D: AsRef<[u8]>, S: Unpin + Stream<Item = Result<D, Box<dyn Error + Send + Sync>>>>( &self, input: OpWriteObjectInput<D, S>, ) -> OpResult<OpWriteObjectOutput>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Blobd
impl !RefUnwindSafe for Blobd
impl Send for Blobd
impl Sync for Blobd
impl Unpin for Blobd
impl !UnwindSafe for Blobd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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