pub struct HeadUploadStatus200Headers {Show 13 fields
pub x_capsule_offset: HeaderXcapsuleOffset81d3e7ec,
pub x_capsule_committed: HeaderXcapsuleCommittedB5f29f91,
pub x_capsule_content_length: HeaderXCapsuleContentLength,
pub x_capsule_upload_status: HeaderXcapsuleUploadStatus9ca5e5e5,
pub x_capsule_advice: HeaderXcapsuleAdviceD466ab21,
pub x_capsule_session_expires_in: HeaderXcapsuleSessionExpiresInE2259ccc,
pub x_capsule_session_idle_expires_in: HeaderXcapsuleSessionIdleExpiresInAcd1e633,
pub x_capsule_upload_error: Option<HeaderXCapsuleUploadError>,
pub cache_control: HeaderCacheControl6fa5b218,
pub x_request_id: HeaderXrequestId2ac459bc,
pub x_capsule_protocol_min: HeaderXcapsuleProtocolMin73815236,
pub x_capsule_protocol_max: HeaderXcapsuleProtocolMaxB226a138,
pub x_capsule_min_client_build: HeaderXcapsuleMinClientBuild79674d1a,
}Expand description
Documented response headers for head_upload Status200.
Fields§
§x_capsule_offset: HeaderXcapsuleOffset81d3e7ecThe committed prefix: where a client sending in order resumes.
x_capsule_committed: HeaderXcapsuleCommittedB5f29f91The full committed set, as comma-separated inclusive byte ranges such as
0-1048575,2097152-4194303, never more than 64 of them; empty when nothing is committed.
A client sending out of order re-plans from this, never from its own record of what it
sent.
x_capsule_content_length: HeaderXCapsuleContentLengthThe declared total, fixed at creation.
x_capsule_upload_status: HeaderXcapsuleUploadStatus9ca5e5e5Where the session is in its state machine.
x_capsule_advice: HeaderXcapsuleAdviceD466ab21The server’s advice, as on session create.
x_capsule_session_expires_in: HeaderXcapsuleSessionExpiresInE2259cccSeconds until the session’s lifetime cap.
x_capsule_session_idle_expires_in: HeaderXcapsuleSessionIdleExpiresInAcd1e633Seconds until the session’s survival floor. For a session past uploading it equals
the lifetime cap’s, because such a session is never discarded under pressure.
x_capsule_upload_error: Option<HeaderXCapsuleUploadError>For a failed_processing session, the error.* code finalization failed with.
The one channel through which a client learns content_hash_mismatch,
envelope_rejected, replace_incomplete or stale_revival: no request waits on
finalization, so the request that completed the session never hears it.
cache_control: HeaderCacheControl6fa5b218no-store: progress is not cacheable.
x_request_id: HeaderXrequestId2ac459bcThe UUIDv7 this server minted for the request. Quote it when reporting a failure: it names the request’s log lines. Never taken from the client.
x_capsule_protocol_min: HeaderXcapsuleProtocolMin73815236The oldest protocol version this server accepts.
x_capsule_protocol_max: HeaderXcapsuleProtocolMaxB226a138The newest protocol version this server accepts.
x_capsule_min_client_build: HeaderXcapsuleMinClientBuild79674d1aThe semver client build below which this server will stop answering. Advisory: 0.0.0 when no cutoff has been announced.
Implementations§
Source§impl HeadUploadStatus200Headers
impl HeadUploadStatus200Headers
Sourcepub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
pub fn from_headers(headers: &HeaderMap) -> Result<Self, HeaderError>
Read the documented headers out of a raw header map.
Sourcepub fn from_response<T>(
response: &ResponseValue<T>,
) -> Result<Self, HeaderError>
pub fn from_response<T>( response: &ResponseValue<T>, ) -> Result<Self, HeaderError>
Read the documented headers out of a returned response value.
Trait Implementations§
Source§impl Clone for HeadUploadStatus200Headers
impl Clone for HeadUploadStatus200Headers
Source§fn clone(&self) -> HeadUploadStatus200Headers
fn clone(&self) -> HeadUploadStatus200Headers
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for HeadUploadStatus200Headers
impl RefUnwindSafe for HeadUploadStatus200Headers
impl Send for HeadUploadStatus200Headers
impl Sync for HeadUploadStatus200Headers
impl Unpin for HeadUploadStatus200Headers
impl UnsafeUnpin for HeadUploadStatus200Headers
impl UnwindSafe for HeadUploadStatus200Headers
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more