pub struct RustChangelog { /* private fields */ }Expand description
A Source which obtains release data from the official Rust changelog.
Implementations§
Source§impl RustChangelog
impl RustChangelog
Sourcepub fn fetch_channel(
channel: Channel,
) -> Result<RustChangelog, RustChangelogError>
pub fn fetch_channel( channel: Channel, ) -> Result<RustChangelog, RustChangelogError>
Fetch all known releases from the official rust changelog
Trait Implementations§
Source§impl Source for RustChangelog
impl Source for RustChangelog
Source§type Error = RustChangelogError
type Error = RustChangelogError
The error to be returned when an index can not be build for a source.
Source§fn build_index(&self) -> Result<ReleaseIndex, <RustChangelog as Source>::Error>
fn build_index(&self) -> Result<ReleaseIndex, <RustChangelog as Source>::Error>
Build a release index from a data set.
Auto Trait Implementations§
impl Freeze for RustChangelog
impl RefUnwindSafe for RustChangelog
impl Send for RustChangelog
impl Sync for RustChangelog
impl Unpin for RustChangelog
impl UnsafeUnpin for RustChangelog
impl UnwindSafe for RustChangelog
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