Enum libafl_bolts::llmp::TcpResponse
source · pub enum TcpResponse {
BrokerConnectHello {
broker_shmem_description: ShMemDescription,
hostname: String,
},
LocalClientAccepted {
client_id: ClientId,
},
RemoteBrokerAccepted {
broker_id: BrokerId,
},
Error {
description: String,
},
}
Expand description
Responses for requests to the server.
Variants§
BrokerConnectHello
Fields
§
broker_shmem_description: ShMemDescription
The broker page a new local client can listen on
After receiving a new connection, the broker immediately sends a Hello.
LocalClientAccepted
Fields
Notify the client on the other side that it has been accepted.
RemoteBrokerAccepted
Notify the remote broker has been accepted.
Error
Something went wrong when processing the request.
Trait Implementations§
source§impl Clone for TcpResponse
impl Clone for TcpResponse
source§fn clone(&self) -> TcpResponse
fn clone(&self) -> TcpResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TcpResponse
impl Debug for TcpResponse
source§impl<'de> Deserialize<'de> for TcpResponse
impl<'de> Deserialize<'de> for TcpResponse
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 Serialize for TcpResponse
impl Serialize for TcpResponse
Auto Trait Implementations§
impl RefUnwindSafe for TcpResponse
impl Send for TcpResponse
impl Sync for TcpResponse
impl Unpin for TcpResponse
impl UnwindSafe for TcpResponse
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
source§impl<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.source§fn 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.