pub struct NONRequestor { /* private fields */ }
Implementations§
Source§impl NONRequestor
impl NONRequestor
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§
Source§impl Clone for NONRequestor
impl Clone for NONRequestor
Source§fn clone(&self) -> NONRequestor
fn clone(&self) -> NONRequestor
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 moreSource§impl 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
Self: 'async_trait,
'life0: 'async_trait,
fn get_object<'life0, 'async_trait>(
&'life0 self,
req: NONGetObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<NONGetObjectOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_object<'life0, 'async_trait>(
&'life0 self,
req: NONPostObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<NONPostObjectOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn select_object<'life0, 'async_trait>(
&'life0 self,
req: NONSelectObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<NONSelectObjectOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_object<'life0, 'async_trait>(
&'life0 self,
req: NONDeleteObjectOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<NONDeleteObjectOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for NONRequestor
impl !RefUnwindSafe for NONRequestor
impl Send for NONRequestor
impl Sync for NONRequestor
impl Unpin for NONRequestor
impl !UnwindSafe for NONRequestor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more