pub struct Handlers {}
Implementations§
Source§impl Handlers
impl Handlers
Sourcepub fn register_receive_chunk(f: fn(FileChunk) -> HandlerResult<()>)
pub fn register_receive_chunk(f: fn(FileChunk) -> HandlerResult<()>)
Defines a handler for incoming chunks forwarded by a wasmcloud:blobstore provider. Chunks may not be received in order.
Auto Trait Implementations§
impl Freeze for Handlers
impl RefUnwindSafe for Handlers
impl Send for Handlers
impl Sync for Handlers
impl Unpin for Handlers
impl UnwindSafe for Handlers
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