pub struct PromotionDestination {
pub location_id: StorageLocationId,
pub tier: StorageTier,
pub writable: bool,
pub maximum_object_bytes: u64,
pub priority: u16,
pub cost_units_per_byte: u64,
}Expand description
One available destination and its exact movement capability.
Fields§
§location_id: StorageLocationIdOpaque configured location.
tier: StorageTierGeneric tier represented by that location.
writable: boolWhether the adapter currently admits immutable-object publication.
maximum_object_bytes: u64Maximum complete canonical object accepted.
priority: u16Deterministic preference within one requested tier.
cost_units_per_byte: u64Conservative caller-supplied movement cost per canonical byte.
Trait Implementations§
Source§impl Clone for PromotionDestination
impl Clone for PromotionDestination
impl Copy for PromotionDestination
Source§impl Debug for PromotionDestination
impl Debug for PromotionDestination
impl Eq for PromotionDestination
Source§impl PartialEq for PromotionDestination
impl PartialEq for PromotionDestination
impl StructuralPartialEq for PromotionDestination
Auto Trait Implementations§
impl Freeze for PromotionDestination
impl RefUnwindSafe for PromotionDestination
impl Send for PromotionDestination
impl Sync for PromotionDestination
impl Unpin for PromotionDestination
impl UnsafeUnpin for PromotionDestination
impl UnwindSafe for PromotionDestination
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request