Struct wildland_corex::catlib_service::CatLibService
source · pub struct CatLibService { /* private fields */ }
Implementations§
source§impl CatLibService
impl CatLibService
pub fn new(catlib: Arc<dyn CatLib>) -> Result<Self, CatlibError>
pub fn add_forest( &self, forest_identity: &ForestIdentity, this_device_identity: &WildlandIdentity, data: ForestMetaData ) -> CatlibResult<Arc<dyn ForestManifest>>
pub fn mark_free_storage_granted( &self, forest: &Arc<dyn ForestManifest> ) -> CatlibResult<()>
pub fn is_free_storage_granted( &self, forest: &Arc<dyn ForestManifest> ) -> CatlibResult<bool>
pub fn get_forest( &self, owner: &ForestIdentity ) -> CatlibResult<Arc<dyn ForestManifest>>
Trait Implementations§
source§impl Clone for CatLibService
impl Clone for CatLibService
source§fn clone(&self) -> CatLibService
fn clone(&self) -> CatLibService
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CatLibService
impl Send for CatLibService
impl Sync for CatLibService
impl Unpin for CatLibService
impl !UnwindSafe for CatLibService
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more