Struct libblobd_lite::Blobd
source · 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 !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