pub enum FunctionServiceResponse {
Publish(FunctionResult<String>),
ListFunctions(FunctionResult<Vec<FunctionInfo>>),
Unpublish(FunctionResult<()>),
GetMetrics(FunctionResult<Metrics>),
}
Expand description
The response sent over the wire from the server to the client.
Variants§
Publish(FunctionResult<String>)
ListFunctions(FunctionResult<Vec<FunctionInfo>>)
Unpublish(FunctionResult<()>)
GetMetrics(FunctionResult<Metrics>)
Trait Implementations§
Source§impl Debug for FunctionServiceResponse
impl Debug for FunctionServiceResponse
Source§impl<'de> Deserialize<'de> for FunctionServiceResponse
impl<'de> Deserialize<'de> for FunctionServiceResponse
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 FunctionServiceResponse
impl RefUnwindSafe for FunctionServiceResponse
impl Send for FunctionServiceResponse
impl Sync for FunctionServiceResponse
impl Unpin for FunctionServiceResponse
impl UnwindSafe for FunctionServiceResponse
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