Struct cyfs_lib::NDNRequestor
source · pub struct NDNRequestor { /* private fields */ }
Implementations§
source§impl NDNRequestor
impl NDNRequestor
pub fn new_default_tcp(dec_id: Option<SharedObjectStackDecID>) -> Self
pub fn new_tcp(
dec_id: Option<SharedObjectStackDecID>,
service_addr: &str
) -> Self
pub fn new(
dec_id: Option<SharedObjectStackDecID>,
requestor: 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