pub enum SegmentFetch {
Direct(SegmentRequest),
Url(String),
}Expand description
One segment body fetch of a response’s batch: the direct endpoint (§5.5) or a signed URL (§5.4). The client resolves §5.4 descriptor routing before the batch, so a URL arm here is always fetchable (never at/past expiry).
Variants§
Direct(SegmentRequest)
Direct-endpoint request (§5.5).
Url(String)
Plain GET of a signed URL; the URL is the entire grant (§5.4).
Trait Implementations§
Source§impl Clone for SegmentFetch
impl Clone for SegmentFetch
Auto Trait Implementations§
impl Freeze for SegmentFetch
impl RefUnwindSafe for SegmentFetch
impl Send for SegmentFetch
impl Sync for SegmentFetch
impl Unpin for SegmentFetch
impl UnsafeUnpin for SegmentFetch
impl UnwindSafe for SegmentFetch
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