Struct wildland_corex::LssService
source · pub struct LssService { /* private fields */ }
Implementations§
source§impl LssService
impl LssService
pub fn new(lss: Box<dyn LocalSecureStorage>) -> Self
pub fn save_identity( &self, wildland_identity: &WildlandIdentity ) -> LssResult<bool>
pub fn get_default_forest_identity( &self ) -> Result<Option<ForestIdentity>, ForestRetrievalError>
pub fn get_this_device_identity(&self) -> LssResult<Option<WildlandIdentity>>
Trait Implementations§
source§impl Clone for LssService
impl Clone for LssService
source§fn clone(&self) -> LssService
fn clone(&self) -> LssService
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 LssService
impl Send for LssService
impl Sync for LssService
impl Unpin for LssService
impl !UnwindSafe for LssService
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