pub enum CompressorResponse {
Health {
ok: bool,
},
CompressionDistance {
value: f64,
},
IntrinsicDependence {
value: f64,
},
BatchCompressionDistance {
values: Vec<f64>,
},
Error {
message: String,
},
}Expand description
Compressor RPC response.
Variants§
Health
Liveness check response.
CompressionDistance
Scalar CMR distance.
IntrinsicDependence
Scalar intrinsic-dependence value.
BatchCompressionDistance
Batch CMR distances.
Error
Error response from worker.
Trait Implementations§
Source§impl Clone for CompressorResponse
impl Clone for CompressorResponse
Source§fn clone(&self) -> CompressorResponse
fn clone(&self) -> CompressorResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompressorResponse
impl Debug for CompressorResponse
Source§impl<'de> Deserialize<'de> for CompressorResponse
impl<'de> Deserialize<'de> for CompressorResponse
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 CompressorResponse
impl RefUnwindSafe for CompressorResponse
impl Send for CompressorResponse
impl Sync for CompressorResponse
impl Unpin for CompressorResponse
impl UnsafeUnpin for CompressorResponse
impl UnwindSafe for CompressorResponse
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