pub struct RotationPending {
pub rotation_id: String,
pub service_id: String,
pub file_id: u32,
pub deadline_ms: u64,
}Expand description
Server to every SDK on the service (resize only): the drain barrier is open. Stop issuing write
guards, wait for outstanding ones, flush into the old file, then send RotationDrained within
deadline_ms. An SDK that does not is dropped with a ROTATION_STRAGGLER Loss.
Fields§
§rotation_id: String§service_id: String§file_id: u32§deadline_ms: u64Trait Implementations§
Source§impl Clone for RotationPending
impl Clone for RotationPending
Source§impl Debug for RotationPending
impl Debug for RotationPending
Source§impl<'de> Deserialize<'de> for RotationPending
impl<'de> Deserialize<'de> for RotationPending
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 RotationPending
Source§impl PartialEq for RotationPending
impl PartialEq for RotationPending
Source§impl Serialize for RotationPending
impl Serialize for RotationPending
impl StructuralPartialEq for RotationPending
Auto Trait Implementations§
impl Freeze for RotationPending
impl RefUnwindSafe for RotationPending
impl Send for RotationPending
impl Sync for RotationPending
impl Unpin for RotationPending
impl UnsafeUnpin for RotationPending
impl UnwindSafe for RotationPending
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