pub struct K1Persons { /* private fields */ }Implementations§
Source§impl K1Persons
impl K1Persons
pub fn open( root: &Path, ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, ) -> Result<Self, String>
pub fn create(&self, name: String) -> Result<PersonId, String>
pub fn update(&self, person: PersonId, name: String) -> Result<(), String>
pub fn resolve( &self, canonical: PersonId, alias: PersonId, ) -> Result<PersonId, String>
pub fn get(&self, person: PersonId) -> Result<Option<String>, String>
Auto Trait Implementations§
impl Freeze for K1Persons
impl RefUnwindSafe for K1Persons
impl Send for K1Persons
impl Sync for K1Persons
impl Unpin for K1Persons
impl UnsafeUnpin for K1Persons
impl UnwindSafe for K1Persons
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