Enum mnemos_trace_proto::HostRequest
source · pub enum HostRequest {
SetMaxLevel(Option<SerializeLevel>),
}
Expand description
Requests sent from a host to a trace target.
Variants§
SetMaxLevel(Option<SerializeLevel>)
Sets the maximum tracing level. Traces above this verbosity level will be discarded.
This may cause the trace target to send new metadata to the host.
Trait Implementations§
source§impl<'de> Deserialize<'de> for HostRequest
impl<'de> Deserialize<'de> for HostRequest
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
Auto Trait Implementations§
impl Freeze for HostRequest
impl RefUnwindSafe for HostRequest
impl Send for HostRequest
impl Sync for HostRequest
impl Unpin for HostRequest
impl UnwindSafe for HostRequest
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