Struct cyfs_lib::GlobalStateRequestor
source · pub struct GlobalStateRequestor { /* private fields */ }
Implementations§
source§impl 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§
source§impl Clone for GlobalStateRequestor
impl Clone for GlobalStateRequestor
source§fn clone(&self) -> GlobalStateRequestor
fn clone(&self) -> GlobalStateRequestor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more