pub trait Provider: Send + Sync {
type User: User;
type Org: Org;
type Repo: Repo;
type Commit: Commit;
type Issue: Issue;
type Release: Release;
// Required methods
fn user(&self) -> Self::User;
fn org(&self) -> Self::Org;
fn repo(&self) -> Self::Repo;
fn commit(&self) -> Self::Commit;
fn issue(&self) -> Self::Issue;
fn release(&self) -> Self::Release;
}Required Associated Types§
type User: User
type Org: Org
type Repo: Repo
type Commit: Commit
type Issue: Issue
type Release: Release
Required Methods§
fn user(&self) -> Self::User
fn org(&self) -> Self::Org
fn repo(&self) -> Self::Repo
fn commit(&self) -> Self::Commit
fn issue(&self) -> Self::Issue
fn release(&self) -> Self::Release
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".