Struct hyper_scripter::script_repo::RepoEntryOptional
source · [−]pub struct RepoEntryOptional<'b> { /* private fields */ }
Implementations
sourceimpl<'b> RepoEntryOptional<'b>
impl<'b> RepoEntryOptional<'b>
pub fn into_either(self) -> Either<RepoEntry<'b>, Self>
pub async fn or_insert(self, info: ScriptInfo) -> Result<RepoEntry<'b>>
Auto Trait Implementations
impl<'b> !RefUnwindSafe for RepoEntryOptional<'b>
impl<'b> Send for RepoEntryOptional<'b>
impl<'b> Sync for RepoEntryOptional<'b>
impl<'b> Unpin for RepoEntryOptional<'b>
impl<'b> !UnwindSafe for RepoEntryOptional<'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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