Struct cyfs_lib::GlobalStateRequestor
source · [−]pub struct GlobalStateRequestor { /* private fields */ }
Implementations
sourceimpl GlobalStateRequestor
impl GlobalStateRequestor
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) -> GlobalStateOutputProcessorRef
pub fn clone_processor(&self) -> GlobalStateOutputProcessorRef
Trait Implementations
sourceimpl Clone for GlobalStateRequestor
impl Clone for GlobalStateRequestor
sourcefn clone(&self) -> GlobalStateRequestor
fn clone(&self) -> GlobalStateRequestor
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 GlobalStateOutputProcessor for GlobalStateRequestor
impl GlobalStateOutputProcessor for GlobalStateRequestor
fn get_category(&self) -> GlobalStateCategory
fn get_current_root<'life0, 'async_trait>(
&'life0 self,
req: RootStateGetCurrentRootOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<RootStateGetCurrentRootOutputResponse>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn create_op_env<'life0, 'async_trait>(
&'life0 self,
req: RootStateCreateOpEnvOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<OpEnvOutputProcessorRef>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for GlobalStateRequestor
impl Send for GlobalStateRequestor
impl Sync for GlobalStateRequestor
impl Unpin for GlobalStateRequestor
impl !UnwindSafe for GlobalStateRequestor
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