pub struct RotationPrepared {
pub rotation_id: String,
pub service_id: String,
pub old_file_id: u32,
pub new_file_id: u32,
pub size: u64,
pub path: Option<String>,
}Expand description
Server to the requester only, after the drain barrier (resize only): the new file exists at
new_file_id, zero filled, and is not live yet. Fill it from the old file in the new shape, then
send RotationFilled. A local requester gets path and writes it directly; a remote requester
has no path and sends range frames for new_file_id, ending with FlushEnd.
Fields§
§rotation_id: String§service_id: String§old_file_id: u32§new_file_id: u32§size: u64§path: Option<String>Trait Implementations§
Source§impl Clone for RotationPrepared
impl Clone for RotationPrepared
Source§impl Debug for RotationPrepared
impl Debug for RotationPrepared
Source§impl<'de> Deserialize<'de> for RotationPrepared
impl<'de> Deserialize<'de> for RotationPrepared
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 RotationPrepared
Source§impl PartialEq for RotationPrepared
impl PartialEq for RotationPrepared
Source§impl Serialize for RotationPrepared
impl Serialize for RotationPrepared
impl StructuralPartialEq for RotationPrepared
Auto Trait Implementations§
impl Freeze for RotationPrepared
impl RefUnwindSafe for RotationPrepared
impl Send for RotationPrepared
impl Sync for RotationPrepared
impl Unpin for RotationPrepared
impl UnsafeUnpin for RotationPrepared
impl UnwindSafe for RotationPrepared
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