pub struct SkillManager { /* private fields */ }Implementations§
Source§impl SkillManager
impl SkillManager
Trait Implementations§
Source§impl Debug for SkillManager
impl Debug for SkillManager
Source§impl Default for SkillManager
impl Default for SkillManager
Source§impl SkillManagementService for SkillManager
impl SkillManagementService for SkillManager
fn register_skill<'life0, 'async_trait>(
&'life0 self,
skill: SkillDefinition,
) -> Pin<Box<dyn Future<Output = Result<SkillId, ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn force_register_skill<'life0, 'async_trait>(
&'life0 self,
skill: SkillDefinition,
) -> Pin<Box<dyn Future<Output = Result<SkillId, ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 SkillId,
) -> Pin<Box<dyn Future<Output = Result<Option<SkillDefinition>, ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 SkillId,
updates: SkillUpdate,
) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn unregister_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 SkillId,
) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_skills<'life0, 'async_trait>(
&'life0 self,
filters: Option<SkillFilters>,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillDefinition>, ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn enable_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 SkillId,
) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn disable_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
skill_id: &'life1 SkillId,
) -> Pin<Box<dyn Future<Output = Result<(), ServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for SkillManager
impl !RefUnwindSafe for SkillManager
impl Send for SkillManager
impl Sync for SkillManager
impl Unpin for SkillManager
impl UnsafeUnpin for SkillManager
impl !UnwindSafe for SkillManager
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.