pub enum Request {
Status(StatusRequest),
Stats(StatsRequest),
Shutdown(ShutdownRequest),
}
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 From<ShutdownRequest> for Request
impl From<ShutdownRequest> for Request
Source§fn from(value: ShutdownRequest) -> Self
fn from(value: ShutdownRequest) -> Self
Converts to this type from the input type.
Source§impl From<StatsRequest> for Request
impl From<StatsRequest> for Request
Source§fn from(value: StatsRequest) -> Self
fn from(value: StatsRequest) -> Self
Converts to this type from the input type.
Source§impl From<StatusRequest> for Request
impl From<StatusRequest> for Request
Source§fn from(value: StatusRequest) -> Self
fn from(value: StatusRequest) -> Self
Converts to this type from the input type.
Source§impl<'a> TryFrom<&'a Request> for &'a ShutdownRequest
impl<'a> TryFrom<&'a Request> for &'a ShutdownRequest
Source§impl<'a> TryFrom<&'a Request> for &'a StatsRequest
impl<'a> TryFrom<&'a Request> for &'a StatsRequest
Source§impl<'a> TryFrom<&'a Request> for &'a StatusRequest
impl<'a> TryFrom<&'a Request> for &'a StatusRequest
Source§impl TryFrom<Request> for ShutdownRequest
impl TryFrom<Request> for ShutdownRequest
Source§impl TryFrom<Request> for StatsRequest
impl TryFrom<Request> for StatsRequest
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.