Struct wildland_catlib::Forest
source · [−]pub struct Forest { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Forest
impl<'de> Deserialize<'de> for Forest
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl IForest for Forest
impl IForest for Forest
sourcefn add_signer(&mut self, signer: Identity) -> CatlibResult<bool>
fn add_signer(&mut self, signer: Identity) -> CatlibResult<bool>
Add manifest Signer Read more
sourcefn del_signer(&mut self, signer: Identity) -> CatlibResult<bool>
fn del_signer(&mut self, signer: Identity) -> CatlibResult<bool>
Delete manifest Signer Read more
sourcefn containers(&self) -> CatlibResult<Vec<Container>>
fn containers(&self) -> CatlibResult<Vec<Container>>
Return list of Forest Containers Read more
sourcefn remove(&mut self) -> CatlibResult<bool>
fn remove(&mut self) -> CatlibResult<bool>
Delete Forest from the database Read more
sourcefn create_container(&self) -> CatlibResult<Container>
fn create_container(&self) -> CatlibResult<Container>
Create an empty container, bound to the Forest. Read more
sourcefn create_bridge(
&self,
path: ContainerPath,
link_data: Vec<u8>
) -> CatlibResult<Bridge>
fn create_bridge(
&self,
path: ContainerPath,
link_data: Vec<u8>
) -> CatlibResult<Bridge>
Create a Bridge obect with arbitrary link data to another Forest. Read more
sourcefn find_bridge(&self, path: ContainerPath) -> CatlibResult<Bridge>
fn find_bridge(&self, path: ContainerPath) -> CatlibResult<Bridge>
Return bridge that matches the given
ContainerPath
. Read moresourcefn find_containers(
&self,
paths: Vec<String>,
include_subdirs: bool
) -> CatlibResult<Vec<Container>>
fn find_containers(
&self,
paths: Vec<String>,
include_subdirs: bool
) -> CatlibResult<Vec<Container>>
Retrieve Containers that match given
ContainerPath
s. Read moreAuto Trait Implementations
impl RefUnwindSafe for Forest
impl !Send for Forest
impl !Sync for Forest
impl Unpin for Forest
impl UnwindSafe for Forest
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