pub enum RouteUpdate {
Idle,
Upgrade {
producer: Box<Producer>,
segment: ShmSegmentSpec,
consumers: Vec<PortRef>,
},
Downgrade {
reason: RouteDowngradeReason,
},
}Expand description
A route change waiting to be picked up by the output handle that owns the route.
Variants§
Idle
Nothing has changed since the handle last looked.
Upgrade
Switch to the zero-copy plane with this producer (§6.3).
Fields
§
segment: ShmSegmentSpecThe segment it writes into.
Downgrade
Go back to the daemon path.
Fields
§
reason: RouteDowngradeReasonWhy.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteUpdate
impl RefUnwindSafe for RouteUpdate
impl Send for RouteUpdate
impl Sync for RouteUpdate
impl Unpin for RouteUpdate
impl UnsafeUnpin for RouteUpdate
impl UnwindSafe for RouteUpdate
Blanket Implementations§
impl<T> Allocation for T
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