pub enum TcpRequest {
LocalClientHello {
shmem_description: ShMemDescription,
},
RemoteBrokerHello {
hostname: String,
},
}
Expand description
This is for the server the broker will spawn. If an llmp connection is local - use sharedmaps or remote (broker2broker) - forwarded via tcp
Variants
LocalClientHello
Fields
shmem_description: ShMemDescription
The sharedmem description of the connecting client.
We would like to be a local client.
RemoteBrokerHello
Fields
hostname: String
The hostname of our broker, trying to connect.
We would like to establish a b2b connection.
Trait Implementations
sourceimpl Clone for TcpRequest
impl Clone for TcpRequest
sourcefn clone(&self) -> TcpRequest
fn clone(&self) -> TcpRequest
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 TcpRequest
impl Debug for TcpRequest
sourceimpl<'de> Deserialize<'de> for TcpRequest
impl<'de> Deserialize<'de> for TcpRequest
sourcefn 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
sourceimpl Serialize for TcpRequest
impl Serialize for TcpRequest
Auto Trait Implementations
impl RefUnwindSafe for TcpRequest
impl Send for TcpRequest
impl Sync for TcpRequest
impl Unpin for TcpRequest
impl UnwindSafe for TcpRequest
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<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.