Struct cyfs_lib::UtilRequestor
source · [−]pub struct UtilRequestor { /* private fields */ }
Implementations
sourceimpl UtilRequestor
impl UtilRequestor
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) -> 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
sourceimpl Clone for UtilRequestor
impl Clone for UtilRequestor
sourcefn clone(&self) -> UtilRequestor
fn clone(&self) -> UtilRequestor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
'life0: 'async_trait,
Self: 'async_trait,
fn get_zone<'life0, 'async_trait>(
&'life0 self,
req: UtilGetZoneRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetZoneResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn resolve_ood<'life0, 'async_trait>(
&'life0 self,
req: UtilResolveOODRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilResolveOODResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_ood_status<'life0, 'async_trait>(
&'life0 self,
req: UtilGetOODStatusRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetOODStatusResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_noc_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetNOCInfoRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetNOCInfoResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
fn get_system_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetSystemInfoRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetSystemInfoResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_version_info<'life0, 'async_trait>(
&'life0 self,
req: UtilGetVersionInfoRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilGetVersionInfoResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn build_file_object<'life0, 'async_trait>(
&'life0 self,
req: UtilBuildFileOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<UtilBuildFileOutputResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for UtilRequestor
impl Send for UtilRequestor
impl Sync for UtilRequestor
impl Unpin for UtilRequestor
impl !UnwindSafe for UtilRequestor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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