pub struct Accepted {
pub port: i64,
pub connection_id: String,
}Expand description
Informs that port was successfully bound and got a specified connection id.
Fields§
§port: i64Port number that was successfully bound.
connection_id: StringConnection id to be used.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Accepted
impl<'de> Deserialize<'de> for Accepted
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 Accepted
impl RefUnwindSafe for Accepted
impl Send for Accepted
impl Sync for Accepted
impl Unpin for Accepted
impl UnsafeUnpin for Accepted
impl UnwindSafe for Accepted
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