Struct cyfs_lib::NDNRequestor
source · pub struct NDNRequestor { /* private fields */ }
Implementations§
source§impl NDNRequestor
impl NDNRequestor
pub fn new( dec_id: Option<SharedObjectStackDecID>, requestor: HttpRequestorRef, data_requestor: Option<HttpRequestorRef> ) -> Self
pub fn into_processor(self) -> NDNOutputProcessorRef
pub fn clone_processor(&self) -> NDNOutputProcessorRef
pub async fn put_data( &self, req: NDNPutDataOutputRequest ) -> BuckyResult<NDNPutDataOutputResponse>
pub async fn get_data( &self, req: NDNGetDataOutputRequest ) -> BuckyResult<NDNGetDataOutputResponse>
pub async fn delete_data( &self, req: NDNDeleteDataOutputRequest ) -> BuckyResult<NDNDeleteDataOutputResponse>
Trait Implementations§
source§impl Clone for NDNRequestor
impl Clone for NDNRequestor
source§fn clone(&self) -> NDNRequestor
fn clone(&self) -> NDNRequestor
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 more