Struct cyfs_lib::SharedCyfsStack
source · [−]pub struct SharedCyfsStack { /* private fields */ }
Implementations
sourceimpl SharedCyfsStack
impl SharedCyfsStack
pub async fn open_default(dec_id: Option<ObjectId>) -> BuckyResult<Self>
pub async fn open_default_with_ws_event(
dec_id: Option<ObjectId>
) -> BuckyResult<Self>
pub async fn open_runtime(dec_id: Option<ObjectId>) -> BuckyResult<Self>
pub async fn open(param: SharedCyfsStackParam) -> BuckyResult<Self>
pub async fn wait_online(&self, timeout: Option<Duration>) -> BuckyResult<()>
pub async fn online(&self) -> BuckyResult<()>
pub fn bind_dec(&self, dec_id: ObjectId)
pub fn dec_id(&self) -> Option<&ObjectId>
pub fn local_device_id(&self) -> DeviceId
pub fn local_device(&self) -> Device
pub fn non_service(&self) -> &NONRequestor
pub fn ndn_service(&self) -> &NDNRequestor
pub fn crypto(&self) -> &CryptoRequestor
pub fn util(&self) -> &UtilRequestor
pub fn trans(&self) -> &TransRequestor
pub fn sync(&self) -> &SyncRequestor
pub fn router_handlers(&self) -> &RouterHandlerManager
pub fn router_events(&self) -> &RouterEventManager
pub fn root_state(&self) -> &GlobalStateRequestor
pub fn root_state_stub(&self, target: Option<ObjectId>) -> GlobalStateStub
pub fn local_cache(&self) -> &GlobalStateRequestor
pub fn local_cache_stub(&self, target: Option<ObjectId>) -> GlobalStateStub
pub fn uni_stack(&self) -> &UniObjectStackRef
Trait Implementations
sourceimpl Clone for SharedCyfsStack
impl Clone for SharedCyfsStack
sourcefn clone(&self) -> SharedCyfsStack
fn clone(&self) -> SharedCyfsStack
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 more
sourceimpl UniCyfsStack for SharedCyfsStack
impl UniCyfsStack for SharedCyfsStack
fn non_service(&self) -> &NONOutputProcessorRef
fn ndn_service(&self) -> &NDNOutputProcessorRef
fn crypto_service(&self) -> &CryptoOutputProcessorRef
fn util_service(&self) -> &UtilOutputProcessorRef
fn trans_service(&self) -> &TransOutputProcessorRef
fn router_handlers(&self) -> &RouterHandlerManagerProcessorRef
fn router_events(&self) -> &RouterEventManagerProcessorRef
fn root_state(&self) -> &GlobalStateOutputProcessorRef
fn root_state_access(&self) -> &GlobalStateAccessOutputProcessorRef
fn local_cache(&self) -> &GlobalStateOutputProcessorRef
fn local_cache_access(&self) -> &GlobalStateAccessOutputProcessorRef
Auto Trait Implementations
impl !RefUnwindSafe for SharedCyfsStack
impl Send for SharedCyfsStack
impl Sync for SharedCyfsStack
impl Unpin for SharedCyfsStack
impl !UnwindSafe for SharedCyfsStack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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