Struct magic_wormhole::WormholeWelcome
source · [−]Expand description
The result of the client-server handshake
Fields
welcome: Option<String>A welcome message from the server (think of “message of the day”). Should be displayed to the user if present.
code: CodeTrait Implementations
sourceimpl Clone for WormholeWelcome
impl Clone for WormholeWelcome
sourcefn clone(&self) -> WormholeWelcome
fn clone(&self) -> WormholeWelcome
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WormholeWelcome
impl Debug for WormholeWelcome
sourceimpl PartialEq<WormholeWelcome> for WormholeWelcome
impl PartialEq<WormholeWelcome> for WormholeWelcome
sourcefn eq(&self, other: &WormholeWelcome) -> bool
fn eq(&self, other: &WormholeWelcome) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WormholeWelcome) -> bool
fn ne(&self, other: &WormholeWelcome) -> bool
This method tests for !=.
impl Eq for WormholeWelcome
impl StructuralEq for WormholeWelcome
impl StructuralPartialEq for WormholeWelcome
Auto Trait Implementations
impl RefUnwindSafe for WormholeWelcome
impl Send for WormholeWelcome
impl Sync for WormholeWelcome
impl Unpin for WormholeWelcome
impl UnwindSafe for WormholeWelcome
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more