pub struct ResizeAppliedEvent {
pub new_size: (u16, u16),
pub old_size: (u16, u16),
pub elapsed: Duration,
pub forced: bool,
}Expand description
Event emitted when a resize operation is applied (bd-bksf.6 stub).
Used by ResizeSlaMonitor for latency tracking.
Fields§
§new_size: (u16, u16)New terminal size after resize.
old_size: (u16, u16)Previous terminal size.
elapsed: DurationTime elapsed from resize request to apply.
forced: boolWhether the apply was forced (hard deadline).
Trait Implementations§
Source§impl Clone for ResizeAppliedEvent
impl Clone for ResizeAppliedEvent
Source§fn clone(&self) -> ResizeAppliedEvent
fn clone(&self) -> ResizeAppliedEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResizeAppliedEvent
impl RefUnwindSafe for ResizeAppliedEvent
impl Send for ResizeAppliedEvent
impl Sync for ResizeAppliedEvent
impl Unpin for ResizeAppliedEvent
impl UnsafeUnpin for ResizeAppliedEvent
impl UnwindSafe for ResizeAppliedEvent
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