pub struct QuiesceTicket { /* private fields */ }Expand description
摘流结果的等待凭据;保留业务排空所需的发现连接。
Implementations§
Source§impl QuiesceTicket
impl QuiesceTicket
Sourcepub async fn wait(self) -> Result<Vec<RegistrationStatus>>
pub async fn wait(self) -> Result<Vec<RegistrationStatus>>
业务作用:等待注册摘流而不关闭业务排空需要的发现连接。
参数说明:无。
返回:全部目标的注销或残留事实,等待取消不停止摘流。
Trait Implementations§
Auto Trait Implementations§
impl Forget for QuiesceTicket
impl Freeze for QuiesceTicket
impl Move for QuiesceTicket
impl RefUnwindSafe for QuiesceTicket
impl Send for QuiesceTicket
impl Sync for QuiesceTicket
impl Unpin for QuiesceTicket
impl UnsafeUnpin for QuiesceTicket
impl UnwindSafe for QuiesceTicket
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