pub enum ChunkLocation {
Service,
HttpRange {
object_ref: String,
},
ObjectStore {
object_ref: String,
via_cdn: bool,
},
}Expand description
Opaque, refreshable location selected by a transport adapter.
Variants§
Trait Implementations§
Source§impl Clone for ChunkLocation
impl Clone for ChunkLocation
Source§fn clone(&self) -> ChunkLocation
fn clone(&self) -> ChunkLocation
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 moreSource§impl Debug for ChunkLocation
impl Debug for ChunkLocation
Source§impl<'de> Deserialize<'de> for ChunkLocation
impl<'de> Deserialize<'de> for ChunkLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChunkLocation
Source§impl PartialEq for ChunkLocation
impl PartialEq for ChunkLocation
Source§impl Serialize for ChunkLocation
impl Serialize for ChunkLocation
impl StructuralPartialEq for ChunkLocation
Auto Trait Implementations§
impl Freeze for ChunkLocation
impl RefUnwindSafe for ChunkLocation
impl Send for ChunkLocation
impl Sync for ChunkLocation
impl Unpin for ChunkLocation
impl UnsafeUnpin for ChunkLocation
impl UnwindSafe for ChunkLocation
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