pub enum VersionSourceResult {
Found {
info: VersionInfo,
etag: Option<String>,
},
NotModified {
etag: String,
},
Error {
reason: String,
status: Option<u16>,
},
}Expand description
Result of fetching the latest version from a source.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VersionSourceResult
impl RefUnwindSafe for VersionSourceResult
impl Send for VersionSourceResult
impl Sync for VersionSourceResult
impl Unpin for VersionSourceResult
impl UnsafeUnpin for VersionSourceResult
impl UnwindSafe for VersionSourceResult
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