pub enum SessionHelloResponse {
Ok {
tunnel_ids: Vec<u64>,
},
Failed(String),
}Expand description
Server’s reply to SessionHello. On success, tunnel_ids[i] is
the server-assigned id for hello.remotes[i]. On failure, the
server closes the connection.
Variants§
Trait Implementations§
Source§impl Debug for SessionHelloResponse
impl Debug for SessionHelloResponse
Source§impl<'de> Deserialize<'de> for SessionHelloResponse
impl<'de> Deserialize<'de> for SessionHelloResponse
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
Source§impl SerdeHelper for SessionHelloResponse
impl SerdeHelper for SessionHelloResponse
Auto Trait Implementations§
impl Freeze for SessionHelloResponse
impl RefUnwindSafe for SessionHelloResponse
impl Send for SessionHelloResponse
impl Sync for SessionHelloResponse
impl Unpin for SessionHelloResponse
impl UnsafeUnpin for SessionHelloResponse
impl UnwindSafe for SessionHelloResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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