Struct rust_releases_rust_dist::RustDist
source · [−]pub struct RustDist { /* private fields */ }
Expand description
A Source
which obtains its input data from the Rust distribution bucket on AWS S3.
Trait Implementations
sourceimpl FetchResources for RustDist
impl FetchResources for RustDist
type Error = RustDistError
type Error = RustDistError
The error to be returned when a resource can not be fetched.
sourcefn fetch_channel(channel: Channel) -> Result<Self, Self::Error>
fn fetch_channel(channel: Channel) -> Result<Self, Self::Error>
Fetch a set of inputs for a release channel.
sourceimpl Source for RustDist
impl Source for RustDist
type Error = RustDistError
type Error = RustDistError
The error to be returned when an index can not be build for a source.
sourcefn build_index(&self) -> Result<ReleaseIndex, Self::Error>
fn build_index(&self) -> Result<ReleaseIndex, Self::Error>
Build a release index from a data set.
Auto Trait Implementations
impl RefUnwindSafe for RustDist
impl Send for RustDist
impl Sync for RustDist
impl Unpin for RustDist
impl UnwindSafe for RustDist
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more