Enum Atof Endpoint Transport
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Streaming transport used by an ATOF endpoint.
Variants
HttpPost
HttpPost
POST each event as one JSONL record.
Websocket
Websocket
Send each event as one WebSocket JSON text message.
Ndjson
Ndjson
Stream events over one long-lived HTTP NDJSON upload.
Implementations
impl AtofEndpointTransport
impl AtofEndpointTransport
parse
pub fn parse(value: &str) -> Option<Self>
Parse a string transport used by configuration and bindings.
as_str
pub fn as_str(self) -> &'static str
Return the stable string representation used by configuration and bindings.
Trait Implementations
impl Clone for AtofEndpointTransport
impl Clone for AtofEndpointTransport
clone
fn clone(&self) -> AtofEndpointTransport
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AtofEndpointTransport
impl Debug for AtofEndpointTransport
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for AtofEndpointTransport
impl Default for AtofEndpointTransport
default
fn default() -> AtofEndpointTransport
impl<'de> Deserialize<'de> for AtofEndpointTransport
impl<'de> Deserialize<'de> for AtofEndpointTransport
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for AtofEndpointTransport
impl PartialEq for AtofEndpointTransport
eq
fn eq(&self, other: &AtofEndpointTransport) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AtofEndpointTransport
impl Serialize for AtofEndpointTransport
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Copy for AtofEndpointTransport
impl Copy for AtofEndpointTransport
impl Eq for AtofEndpointTransport
impl Eq for AtofEndpointTransport
impl StructuralPartialEq for AtofEndpointTransport
impl StructuralPartialEq for AtofEndpointTransport