You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/core.rs
-71
Original file line number
Diff line number
Diff line change
@@ -74,21 +74,6 @@ impl From<std::convert::Infallible> for WormholeError {
74
74
}
75
75
}
76
76
77
-
/**
78
-
* The result of the client-server handshake
79
-
*/
80
-
#[derive(Clone,Debug,PartialEq,Eq)]
81
-
#[deprecated(
82
-
since = "0.7.0",
83
-
note = "part of the response of `Wormhole::connect_without_code(...)` and `Wormhole::connect_with_code(...) please use 'MailboxConnection::create(...)`/`MailboxConnection::connect(..)` and `Wormhole::connect(mailbox_connection)' instead"
84
-
)]
85
-
pubstructWormholeWelcome{
86
-
/** A welcome message from the server (think of "message of the day"). Should be displayed to the user if present. */
87
-
pubwelcome:Option<String>,
88
-
/// The wormhole code used in the exchange
89
-
pubcode:Code,
90
-
}
91
-
92
77
/**
93
78
* Establishing Wormhole connection
94
79
*
@@ -310,62 +295,6 @@ pub struct Wormhole {
310
295
}
311
296
312
297
implWormhole{
313
-
/**
314
-
* Generate a code and connect to the rendezvous server.
315
-
*
316
-
* # Returns
317
-
*
318
-
* A tuple with a [`WormholeWelcome`] and a [`std::future::Future`] that will
319
-
* do the rest of the client-client handshake and yield the [`Wormhole`] object
320
-
* on success.
321
-
*/
322
-
#[deprecated(
323
-
since = "0.7.0",
324
-
note = "please use 'MailboxConnection::create(..) and Wormhole::connect(mailbox_connection)' instead"
0 commit comments