Enum Content Root
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub enum ContentRoot {
RequestMessage(usize),
Message,
Response,
Content,
}
The normalized object against which a content location is interpreted.
Variants
RequestMessage(usize)
RequestMessage(usize)
A request’s message at this index.
Message
Message
A standalone message.
Response
Response
A normalized response.
Content
Content
Standalone content, including request instructions.
Trait Implementations
impl Clone for ContentRoot
impl Clone for ContentRoot
clone
fn clone(&self) -> ContentRoot
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ContentRoot
impl Debug for ContentRoot
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl PartialEq for ContentRoot
impl PartialEq for ContentRoot
eq
fn eq(&self, other: &ContentRoot) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ContentRoot
impl Serialize for ContentRoot
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for ContentRoot
impl Copy for ContentRoot
impl Eq for ContentRoot
impl Eq for ContentRoot
impl StructuralPartialEq for ContentRoot
impl StructuralPartialEq for ContentRoot