Struct cyfs_lib::UtilRequestor

source ·
pub struct UtilRequestor { /* private fields */ }

Implementations§

source§

impl UtilRequestor

source

pub fn new( dec_id: Option<SharedObjectStackDecID>, requestor: HttpRequestorRef ) -> Self

source

pub fn into_processor(self) -> UtilOutputProcessorRef

source

pub fn clone_processor(&self) -> UtilOutputProcessorRef

source

pub async fn get_device( &self, req: UtilGetDeviceRequest ) -> BuckyResult<UtilGetDeviceResponse>

source

pub async fn get_zone( &self, req: UtilGetZoneRequest ) -> BuckyResult<UtilGetZoneResponse>

source

pub async fn resolve_ood( &self, req: UtilResolveOODRequest ) -> BuckyResult<UtilResolveOODResponse>

source

pub async fn get_ood_status( &self, req: UtilGetOODStatusRequest ) -> BuckyResult<UtilGetOODStatusResponse>

source

pub async fn get_noc_info( &self, req: UtilGetNOCInfoRequest ) -> BuckyResult<UtilGetNOCInfoResponse>

source

pub async fn get_network_access_info( &self, req: UtilGetNetworkAccessInfoRequest ) -> BuckyResult<UtilGetNetworkAccessInfoResponse>

source

pub async fn get_device_static_info( &self, req: UtilGetDeviceStaticInfoRequest ) -> BuckyResult<UtilGetDeviceStaticInfoResponse>

source

pub async fn get_system_info( &self, req: UtilGetSystemInfoRequest ) -> BuckyResult<UtilGetSystemInfoResponse>

source

pub async fn get_version_info( &self, req: UtilGetVersionInfoRequest ) -> BuckyResult<UtilGetVersionInfoResponse>

source

pub async fn build_file_object( &self, req: UtilBuildFileOutputRequest ) -> BuckyResult<UtilBuildFileOutputResponse>

source

pub async fn build_dir_from_object_map( &self, req: UtilBuildDirFromObjectMapOutputRequest ) -> BuckyResult<UtilBuildDirFromObjectMapOutputResponse>

Trait Implementations§

source§

impl Clone for UtilRequestor

source§

fn clone(&self) -> UtilRequestor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl UtilOutputProcessor for UtilRequestor

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V