Struct rust_releases::RustChangelog
source · [−]pub struct RustChangelog { /* private fields */ }
Expand description
A Source
which obtains release data from the official Rust changelog.
Trait Implementations
sourceimpl FetchResources for RustChangelog
impl FetchResources for RustChangelog
type Error = RustChangelogError
type Error = RustChangelogError
The error to be returned when a resource can not be fetched.
sourcepub fn fetch_channel(
channel: Channel
) -> Result<RustChangelog, <RustChangelog as FetchResources>::Error>
pub fn fetch_channel(
channel: Channel
) -> Result<RustChangelog, <RustChangelog as FetchResources>::Error>
Fetch a set of inputs for a release channel.
sourceimpl Source for RustChangelog
impl Source for RustChangelog
type Error = RustChangelogError
type Error = RustChangelogError
The error to be returned when an index can not be build for a source.
sourcepub fn build_index(
&self
) -> Result<ReleaseIndex, <RustChangelog as Source>::Error>
pub fn build_index(
&self
) -> Result<ReleaseIndex, <RustChangelog as Source>::Error>
Build a release index from a data set.
Auto Trait Implementations
impl RefUnwindSafe for RustChangelog
impl Send for RustChangelog
impl Sync for RustChangelog
impl Unpin for RustChangelog
impl UnwindSafe for RustChangelog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more