Struct cyfs_lib::GlobalStateAccessRequestor
source · [−]pub struct GlobalStateAccessRequestor { /* private fields */ }
Implementations
sourceimpl GlobalStateAccessRequestor
impl GlobalStateAccessRequestor
pub fn new_default_tcp(
category: GlobalStateCategory,
dec_id: Option<SharedObjectStackDecID>
) -> Self
pub fn new_tcp(
category: GlobalStateCategory,
dec_id: Option<SharedObjectStackDecID>,
service_addr: &str
) -> Self
pub fn new_root_state(
dec_id: Option<SharedObjectStackDecID>,
requestor: HttpRequestorRef
) -> Self
pub fn new_local_cache(
dec_id: Option<SharedObjectStackDecID>,
requestor: HttpRequestorRef
) -> Self
pub fn new(
category: GlobalStateCategory,
dec_id: Option<SharedObjectStackDecID>,
requestor: HttpRequestorRef
) -> Self
pub fn category(&self) -> &GlobalStateCategory
pub fn into_processor(self) -> GlobalStateAccessOutputProcessorRef
pub fn clone_processor(&self) -> GlobalStateAccessOutputProcessorRef
pub async fn decode_get_object_by_path_response(
resp: &mut Response
) -> BuckyResult<RootStateAccessGetObjectByPathOutputResponse>
pub async fn decode_list_response(
resp: &mut Response
) -> BuckyResult<RootStateAccessListOutputResponse>
Trait Implementations
sourceimpl Clone for GlobalStateAccessRequestor
impl Clone for GlobalStateAccessRequestor
sourcefn clone(&self) -> GlobalStateAccessRequestor
fn clone(&self) -> GlobalStateAccessRequestor
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 moresourceimpl GlobalStateAccessOutputProcessor for GlobalStateAccessRequestor
impl GlobalStateAccessOutputProcessor for GlobalStateAccessRequestor
fn get_object_by_path<'life0, 'async_trait>(
&'life0 self,
req: RootStateAccessGetObjectByPathOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<RootStateAccessGetObjectByPathOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
req: RootStateAccessListOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<RootStateAccessListOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for GlobalStateAccessRequestor
impl Send for GlobalStateAccessRequestor
impl Sync for GlobalStateAccessRequestor
impl Unpin for GlobalStateAccessRequestor
impl !UnwindSafe for GlobalStateAccessRequestor
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