Enum perspective_client::proto::response::ClientResp
source · pub enum ClientResp {
Show 34 variants
GetFeaturesResp(GetFeaturesResp),
GetHostedTablesResp(GetHostedTablesResp),
TableMakePortResp(TableMakePortResp),
TableMakeViewResp(TableMakeViewResp),
TableSchemaResp(TableSchemaResp),
TableSizeResp(TableSizeResp),
TableValidateExprResp(TableValidateExprResp),
ViewColumnPathsResp(ViewColumnPathsResp),
ViewDeleteResp(ViewDeleteResp),
ViewDimensionsResp(ViewDimensionsResp),
ViewExpressionSchemaResp(ViewExpressionSchemaResp),
ViewGetConfigResp(ViewGetConfigResp),
ViewSchemaResp(ViewSchemaResp),
ViewToArrowResp(ViewToArrowResp),
ServerSystemInfoResp(ServerSystemInfoResp),
ViewCollapseResp(ViewCollapseResp),
ViewExpandResp(ViewExpandResp),
ViewGetMinMaxResp(ViewGetMinMaxResp),
ViewOnUpdateResp(ViewOnUpdateResp),
ViewRemoveOnUpdateResp(ViewRemoveOnUpdateResp),
ViewSetDepthResp(ViewSetDepthResp),
ViewToColumnsStringResp(ViewToColumnsStringResp),
ViewToCsvResp(ViewToCsvResp),
ViewToRowsStringResp(ViewToRowsStringResp),
MakeTableResp(MakeTableResp),
TableDeleteResp(TableDeleteResp),
TableOnDeleteResp(TableOnDeleteResp),
TableRemoveDeleteResp(TableRemoveDeleteResp),
TableRemoveResp(TableRemoveResp),
TableReplaceResp(TableReplaceResp),
TableUpdateResp(TableUpdateResp),
ViewOnDeleteResp(ViewOnDeleteResp),
ViewRemoveDeleteResp(ViewRemoveDeleteResp),
ServerError(ServerError),
}Variants§
GetFeaturesResp(GetFeaturesResp)
GetHostedTablesResp(GetHostedTablesResp)
TableMakePortResp(TableMakePortResp)
TableMakeViewResp(TableMakeViewResp)
TableSchemaResp(TableSchemaResp)
TableSizeResp(TableSizeResp)
TableValidateExprResp(TableValidateExprResp)
ViewColumnPathsResp(ViewColumnPathsResp)
ViewDeleteResp(ViewDeleteResp)
ViewDimensionsResp(ViewDimensionsResp)
ViewExpressionSchemaResp(ViewExpressionSchemaResp)
ViewGetConfigResp(ViewGetConfigResp)
ViewSchemaResp(ViewSchemaResp)
ViewToArrowResp(ViewToArrowResp)
ServerSystemInfoResp(ServerSystemInfoResp)
ViewCollapseResp(ViewCollapseResp)
ViewExpandResp(ViewExpandResp)
ViewGetMinMaxResp(ViewGetMinMaxResp)
ViewOnUpdateResp(ViewOnUpdateResp)
ViewRemoveOnUpdateResp(ViewRemoveOnUpdateResp)
ViewSetDepthResp(ViewSetDepthResp)
ViewToColumnsStringResp(ViewToColumnsStringResp)
ViewToCsvResp(ViewToCsvResp)
ViewToRowsStringResp(ViewToRowsStringResp)
MakeTableResp(MakeTableResp)
TableDeleteResp(TableDeleteResp)
TableOnDeleteResp(TableOnDeleteResp)
TableRemoveDeleteResp(TableRemoveDeleteResp)
TableRemoveResp(TableRemoveResp)
TableReplaceResp(TableReplaceResp)
TableUpdateResp(TableUpdateResp)
ViewOnDeleteResp(ViewOnDeleteResp)
ViewRemoveDeleteResp(ViewRemoveDeleteResp)
ServerError(ServerError)
Implementations§
source§impl ClientResp
impl ClientResp
sourcepub fn merge<B>(
field: &mut Option<ClientResp>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ClientResp>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ClientResp
impl Clone for ClientResp
source§fn clone(&self) -> ClientResp
fn clone(&self) -> ClientResp
Returns a copy 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 ClientResp
impl Debug for ClientResp
source§impl From<ClientResp> for ClientError
impl From<ClientResp> for ClientError
source§fn from(value: ClientResp) -> Self
fn from(value: ClientResp) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClientResp
impl PartialEq for ClientResp
source§impl Serialize for ClientResp
impl Serialize for ClientResp
impl StructuralPartialEq for ClientResp
Auto Trait Implementations§
impl Freeze for ClientResp
impl RefUnwindSafe for ClientResp
impl Send for ClientResp
impl Sync for ClientResp
impl Unpin for ClientResp
impl UnwindSafe for ClientResp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more