pub enum BodyReplayability {
NotReplayable,
Replayable,
}Expand description
Whether one prepared request body can be sent again byte-for-byte.
Variants§
NotReplayable
The body source cannot guarantee an identical subsequent read.
Replayable
The complete body is an immutable byte snapshot for the request lifetime.
Trait Implementations§
Source§impl Clone for BodyReplayability
impl Clone for BodyReplayability
Source§fn clone(&self) -> BodyReplayability
fn clone(&self) -> BodyReplayability
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 moreimpl Copy for BodyReplayability
Source§impl Debug for BodyReplayability
impl Debug for BodyReplayability
impl Eq for BodyReplayability
Source§impl Hash for BodyReplayability
impl Hash for BodyReplayability
Source§impl Ord for BodyReplayability
impl Ord for BodyReplayability
Source§fn cmp(&self, other: &BodyReplayability) -> Ordering
fn cmp(&self, other: &BodyReplayability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BodyReplayability
impl PartialEq for BodyReplayability
Source§impl PartialOrd for BodyReplayability
impl PartialOrd for BodyReplayability
impl StructuralPartialEq for BodyReplayability
Auto Trait Implementations§
impl Freeze for BodyReplayability
impl RefUnwindSafe for BodyReplayability
impl Send for BodyReplayability
impl Sync for BodyReplayability
impl Unpin for BodyReplayability
impl UnsafeUnpin for BodyReplayability
impl UnwindSafe for BodyReplayability
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