Struct wasmcloud_core::chunking::ChunkEndpoint
source · pub struct ChunkEndpoint { /* private fields */ }
Implementations§
source§impl ChunkEndpoint
impl ChunkEndpoint
pub fn new(lattice: &str, js: Context) -> Self
pub fn with_client( lattice: &str, nc: Client, domain: Option<impl AsRef<str>> ) -> Self
sourcepub async fn get_unchunkified(&self, inv_id: &str) -> Result<Vec<u8>>
pub async fn get_unchunkified(&self, inv_id: &str) -> Result<Vec<u8>>
load the message after de-chunking
sourcepub async fn get_unchunkified_response(&self, inv_id: &str) -> Result<Vec<u8>>
pub async fn get_unchunkified_response(&self, inv_id: &str) -> Result<Vec<u8>>
load response after de-chunking
Trait Implementations§
source§impl Clone for ChunkEndpoint
impl Clone for ChunkEndpoint
source§fn clone(&self) -> ChunkEndpoint
fn clone(&self) -> ChunkEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ChunkEndpoint
impl !RefUnwindSafe for ChunkEndpoint
impl Send for ChunkEndpoint
impl Sync for ChunkEndpoint
impl Unpin for ChunkEndpoint
impl !UnwindSafe for ChunkEndpoint
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