Struct cyfs_lib::NONRequestor
source · [−]pub struct NONRequestor { /* private fields */ }
Implementations
sourceimpl NONRequestor
impl NONRequestor
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) -> NONOutputProcessorRef
pub fn clone_processor(&self) -> NONOutputProcessorRef
pub async fn put_object(
&self,
req: NONPutObjectOutputRequest
) -> BuckyResult<NONPutObjectOutputResponse>
pub async fn update_object_meta(
&self,
req: NONUpdateObjectMetaOutputRequest
) -> BuckyResult<NONPutObjectOutputResponse>
pub async fn get_object(
&self,
req: NONGetObjectOutputRequest
) -> BuckyResult<NONGetObjectOutputResponse>
pub async fn post_object(
&self,
req: NONPostObjectOutputRequest
) -> BuckyResult<NONPostObjectOutputResponse>
pub async fn select_object(
&self,
req: NONSelectObjectOutputRequest
) -> BuckyResult<NONSelectObjectOutputResponse>
pub async fn delete_object(
&self,
req: NONDeleteObjectOutputRequest
) -> BuckyResult<NONDeleteObjectOutputResponse>
Trait Implementations
sourceimpl Clone for NONRequestor
impl Clone for NONRequestor
sourcefn clone(&self) -> NONRequestor
fn clone(&self) -> NONRequestor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl NONOutputProcessor for NONRequestor
impl NONOutputProcessor for NONRequestor
fn put_object<'life0, 'async_trait>(
&'life0 self,
req: NONPutObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<NONPutObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn get_object<'life0, 'async_trait>(
&'life0 self,
req: NONGetObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<NONGetObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn post_object<'life0, 'async_trait>(
&'life0 self,
req: NONPostObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<NONPostObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn select_object<'life0, 'async_trait>(
&'life0 self,
req: NONSelectObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<NONSelectObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_object<'life0, 'async_trait>(
&'life0 self,
req: NONDeleteObjectOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<NONDeleteObjectOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for NONRequestor
impl Send for NONRequestor
impl Sync for NONRequestor
impl Unpin for NONRequestor
impl !UnwindSafe for NONRequestor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more