Struct cyfs_lib::GlobalStateMetaRequestor
source · [−]pub struct GlobalStateMetaRequestor { /* private fields */ }
Implementations
sourceimpl GlobalStateMetaRequestor
impl GlobalStateMetaRequestor
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) -> GlobalStateMetaOutputProcessorRef
pub fn clone_processor(&self) -> GlobalStateMetaOutputProcessorRef
Trait Implementations
sourceimpl Clone for GlobalStateMetaRequestor
impl Clone for GlobalStateMetaRequestor
sourcefn clone(&self) -> GlobalStateMetaRequestor
fn clone(&self) -> GlobalStateMetaRequestor
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl GlobalStateMetaOutputProcessor for GlobalStateMetaRequestor
impl GlobalStateMetaOutputProcessor for GlobalStateMetaRequestor
fn add_access<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaAddAccessOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaAddAccessOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_access<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaRemoveAccessOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaRemoveAccessOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn clear_access<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaClearAccessOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaClearAccessOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn add_link<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaAddLinkOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaAddLinkOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_link<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaRemoveLinkOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaRemoveLinkOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn clear_link<'life0, 'async_trait>(
&'life0 self,
req: GlobalStateMetaClearLinkOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<GlobalStateMetaClearLinkOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for GlobalStateMetaRequestor
impl Send for GlobalStateMetaRequestor
impl Sync for GlobalStateMetaRequestor
impl Unpin for GlobalStateMetaRequestor
impl !UnwindSafe for GlobalStateMetaRequestor
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