pub struct VerifyOutcome {
pub platform: Platform,
pub url: String,
pub status: Option<u16>,
pub error: Option<String>,
}Expand description
Result of a single platform reachability probe performed by
verify_release.
Fields§
§platform: PlatformPlatform the probe targeted.
url: StringURL that was probed.
status: Option<u16>HTTP status returned by the CDN, or None if the probe itself failed.
error: Option<String>Error message when status is None (spawn failure, parse failure,
stderr from a failed curl invocation).
Implementations§
Trait Implementations§
Source§impl Clone for VerifyOutcome
impl Clone for VerifyOutcome
Source§fn clone(&self) -> VerifyOutcome
fn clone(&self) -> VerifyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifyOutcome
impl RefUnwindSafe for VerifyOutcome
impl Send for VerifyOutcome
impl Sync for VerifyOutcome
impl Unpin for VerifyOutcome
impl UnsafeUnpin for VerifyOutcome
impl UnwindSafe for VerifyOutcome
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