Enum perspective_client::proto::response::ClientResp
source · pub enum ClientResp {
Show 33 variants
ServerError(ServerError),
MakeTableResp(MakeTableResp),
TableDeleteResp(TableDeleteResp),
TableSizeResp(TableSizeResp),
TableSchemaResp(TableSchemaResp),
TableMakePortResp(TableMakePortResp),
TableValidateExprResp(TableValidateExprResp),
TableMakeViewResp(TableMakeViewResp),
TableOnDeleteResp(TableOnDeleteResp),
TableRemoveDeleteResp(TableRemoveDeleteResp),
TableUpdateResp(TableUpdateResp),
TableReplaceResp(TableReplaceResp),
TableRemoveResp(TableRemoveResp),
ViewSchemaResp(ViewSchemaResp),
ViewDimensionsResp(ViewDimensionsResp),
ViewGetConfigResp(ViewGetConfigResp),
ViewColumnPathsResp(ViewColumnPathsResp),
ViewDeleteResp(ViewDeleteResp),
ViewExpressionSchemaResp(ViewExpressionSchemaResp),
ViewOnUpdateResp(ViewOnUpdateResp),
ViewOnDeleteResp(ViewOnDeleteResp),
ViewRemoveDeleteResp(ViewRemoveDeleteResp),
ViewToColumnsStringResp(ViewToColumnsStringResp),
ViewToRowsStringResp(ViewToRowsStringResp),
ViewToCsvResp(ViewToCsvResp),
ViewToArrowResp(ViewToArrowResp),
ViewGetMinMaxResp(ViewGetMinMaxResp),
ViewRemoveOnUpdateResp(ViewRemoveOnUpdateResp),
ViewCollapseResp(ViewCollapseResp),
ViewExpandResp(ViewExpandResp),
ViewSetDepthResp(ViewSetDepthResp),
GetHostedTablesResp(GetHostedTablesResp),
ServerSystemInfoResp(ServerSystemInfoResp),
}Variants§
ServerError(ServerError)
MakeTableResp(MakeTableResp)
TableDeleteResp(TableDeleteResp)
TableSizeResp(TableSizeResp)
TableSchemaResp(TableSchemaResp)
TableMakePortResp(TableMakePortResp)
TableValidateExprResp(TableValidateExprResp)
TableMakeViewResp(TableMakeViewResp)
TableOnDeleteResp(TableOnDeleteResp)
TableRemoveDeleteResp(TableRemoveDeleteResp)
TableUpdateResp(TableUpdateResp)
TableReplaceResp(TableReplaceResp)
TableRemoveResp(TableRemoveResp)
ViewSchemaResp(ViewSchemaResp)
ViewDimensionsResp(ViewDimensionsResp)
ViewGetConfigResp(ViewGetConfigResp)
ViewColumnPathsResp(ViewColumnPathsResp)
ViewDeleteResp(ViewDeleteResp)
ViewExpressionSchemaResp(ViewExpressionSchemaResp)
ViewOnUpdateResp(ViewOnUpdateResp)
ViewOnDeleteResp(ViewOnDeleteResp)
ViewRemoveDeleteResp(ViewRemoveDeleteResp)
ViewToColumnsStringResp(ViewToColumnsStringResp)
ViewToRowsStringResp(ViewToRowsStringResp)
ViewToCsvResp(ViewToCsvResp)
ViewToArrowResp(ViewToArrowResp)
ViewGetMinMaxResp(ViewGetMinMaxResp)
ViewRemoveOnUpdateResp(ViewRemoveOnUpdateResp)
ViewCollapseResp(ViewCollapseResp)
ViewExpandResp(ViewExpandResp)
ViewSetDepthResp(ViewSetDepthResp)
GetHostedTablesResp(GetHostedTablesResp)
ServerSystemInfoResp(ServerSystemInfoResp)
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§fn eq(&self, other: &ClientResp) -> bool
fn eq(&self, other: &ClientResp) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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> 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