pub struct LoadedSkill { /* private fields */ }Expand description
Explicitly loaded skill body and its safe reference base.
Implementations§
Source§impl LoadedSkill
impl LoadedSkill
Sourcepub fn resolve_reference(&self, relative: &str) -> Result<PathBuf, CodingError>
pub fn resolve_reference(&self, relative: &str) -> Result<PathBuf, CodingError>
Resolves one relative existing reference beneath the skill directory.
§Errors
Rejects absolute/traversing/missing references and symlink escape.
Trait Implementations§
Source§impl Clone for LoadedSkill
impl Clone for LoadedSkill
Source§impl Debug for LoadedSkill
impl Debug for LoadedSkill
impl Eq for LoadedSkill
Source§impl PartialEq for LoadedSkill
impl PartialEq for LoadedSkill
impl StructuralPartialEq for LoadedSkill
Auto Trait Implementations§
impl Freeze for LoadedSkill
impl RefUnwindSafe for LoadedSkill
impl Send for LoadedSkill
impl Sync for LoadedSkill
impl Unpin for LoadedSkill
impl UnsafeUnpin for LoadedSkill
impl UnwindSafe for LoadedSkill
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.