pub struct UtilRequestor { /* private fields */ }
Implementations§
Source§impl UtilRequestor
impl UtilRequestor
pub fn new( dec_id: Option<SharedObjectStackDecID>, requestor: HttpRequestorRef, ) -> Self
pub fn into_processor(self) -> UtilOutputProcessorRef
pub fn clone_processor(&self) -> UtilOutputProcessorRef
pub async fn get_device( &self, req: UtilGetDeviceRequest, ) -> BuckyResult<UtilGetDeviceResponse>
pub async fn get_zone( &self, req: UtilGetZoneRequest, ) -> BuckyResult<UtilGetZoneResponse>
pub async fn resolve_ood( &self, req: UtilResolveOODRequest, ) -> BuckyResult<UtilResolveOODResponse>
pub async fn get_ood_status( &self, req: UtilGetOODStatusRequest, ) -> BuckyResult<UtilGetOODStatusResponse>
pub async fn get_noc_info( &self, req: UtilGetNOCInfoRequest, ) -> BuckyResult<UtilGetNOCInfoResponse>
pub async fn get_network_access_info( &self, req: UtilGetNetworkAccessInfoRequest, ) -> BuckyResult<UtilGetNetworkAccessInfoResponse>
pub async fn get_device_static_info( &self, req: UtilGetDeviceStaticInfoRequest, ) -> BuckyResult<UtilGetDeviceStaticInfoResponse>
pub async fn get_system_info( &self, req: UtilGetSystemInfoRequest, ) -> BuckyResult<UtilGetSystemInfoResponse>
pub async fn get_version_info( &self, req: UtilGetVersionInfoRequest, ) -> BuckyResult<UtilGetVersionInfoResponse>
pub async fn build_file_object( &self, req: UtilBuildFileOutputRequest, ) -> BuckyResult<UtilBuildFileOutputResponse>
pub async fn build_dir_from_object_map( &self, req: UtilBuildDirFromObjectMapOutputRequest, ) -> BuckyResult<UtilBuildDirFromObjectMapOutputResponse>
Trait Implementations§
Source§impl Clone for UtilRequestor
impl Clone for UtilRequestor
Source§fn clone(&self) -> UtilRequestor
fn clone(&self) -> UtilRequestor
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 UtilOutputProcessor for UtilRequestor
impl UtilOutputProcessor for UtilRequestor
fn get_device<'life0, 'async_trait>(
&'life0 self,
req: UtilGetDeviceRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetDeviceResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_zone<'life0, 'async_trait>(
&'life0 self,
req: UtilGetZoneRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetZoneResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn resolve_ood<'life0, 'async_trait>(
&'life0 self,
req: UtilResolveOODRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilResolveOODResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_ood_status<'life0, 'async_trait>(
&'life0 self,
req: UtilGetOODStatusRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetOODStatusResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_noc_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetNOCInfoRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetNOCInfoResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_network_access_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetNetworkAccessInfoRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetNetworkAccessInfoResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_device_static_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetDeviceStaticInfoRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetDeviceStaticInfoResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_system_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetSystemInfoRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetSystemInfoResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_version_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetVersionInfoRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetVersionInfoResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn build_file_object<'life0, 'async_trait>(
&'life0 self,
req: UtilBuildFileOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilBuildFileOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn build_dir_from_object_map<'life0, 'async_trait>(
&'life0 self,
req: UtilBuildDirFromObjectMapOutputRequest,
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilBuildDirFromObjectMapOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for UtilRequestor
impl !RefUnwindSafe for UtilRequestor
impl Send for UtilRequestor
impl Sync for UtilRequestor
impl Unpin for UtilRequestor
impl !UnwindSafe for UtilRequestor
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