pub struct RelayClientDisconnected {
pub id_start: u32,
pub id_end_exclusive: u32,
}Expand description
Payload for core.relay.client.disconnected messages.
Sent by the host relay when one SDK client socket disconnects. The guest agent uses the assigned correlation ID range to clean up resources owned by that client, such as open filesystem handles.
Fields§
§id_start: u32First correlation ID assigned to the disconnected client.
id_end_exclusive: u32Exclusive upper bound of the disconnected client’s ID range.
Trait Implementations§
Source§impl Clone for RelayClientDisconnected
impl Clone for RelayClientDisconnected
Source§fn clone(&self) -> RelayClientDisconnected
fn clone(&self) -> RelayClientDisconnected
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelayClientDisconnected
impl Debug for RelayClientDisconnected
Source§impl<'de> Deserialize<'de> for RelayClientDisconnected
impl<'de> Deserialize<'de> for RelayClientDisconnected
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
Auto Trait Implementations§
impl Freeze for RelayClientDisconnected
impl RefUnwindSafe for RelayClientDisconnected
impl Send for RelayClientDisconnected
impl Sync for RelayClientDisconnected
impl Unpin for RelayClientDisconnected
impl UnsafeUnpin for RelayClientDisconnected
impl UnwindSafe for RelayClientDisconnected
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