Struct wildland_corex::LssService
source · [−]pub struct LssService { /* private fields */ }
Implementations
sourceimpl LssService
impl LssService
pub fn new(lss: &'static dyn LocalSecureStorage) -> Self
pub fn save_identity(
&self,
wildland_identity: &WildlandIdentity
) -> LssResult<bool>
pub fn get_default_forest_identity(
&self
) -> Result<Option<WildlandIdentity>, ForestRetrievalError>
pub fn save_forest_uuid(&self, forest: &Forest) -> LssResult<bool>
pub fn get_forest_uuid_by_identity(
&self,
forest_identity: &WildlandIdentity
) -> LssResult<Option<Uuid>>
pub fn get_this_device_identity(&self) -> LssResult<Option<WildlandIdentity>>
pub fn save_storage_template(
&self,
storage_template: &StorageTemplate
) -> LssResult<bool>
Trait Implementations
sourceimpl Clone for LssService
impl Clone for LssService
sourcefn clone(&self) -> LssService
fn clone(&self) -> LssService
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for LssService
impl !Send for LssService
impl !Sync for LssService
impl Unpin for LssService
impl !UnwindSafe for LssService
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