Skip to main content

Opcode

Enum Opcode 

Source
#[repr(u16)]
pub enum Opcode {
Show 124 variants Hello = 1, Welcome = 129, Auth = 2, AuthOk = 130, Bye = 31, Ping = 16, Pong = 144, ClientPong = 17, ServerPing = 145, CancelStream = 80, CancelStreamAck = 208, EncodeReq = 32, EncodeResp = 160, RecallReq = 33, RecallResp = 161, PlanReq = 34, PlanResp = 162, ReasonReq = 35, ReasonResp = 163, ForgetReq = 36, ForgetResp = 164, LinkReq = 37, LinkResp = 165, UnlinkReq = 38, UnlinkResp = 166, MemoryListReq = 39, MemoryListResp = 167, MemoryInspectReq = 40, MemoryInspectResp = 168, EncodeVectorDirectReq = 42, EncodeVectorDirectResp = 170, SubscribeReq = 48, SubscribeEvent = 176, UnsubscribeReq = 49, UnsubscribeResp = 177, TxnBegin = 64, TxnBeginResp = 192, TxnCommit = 65, TxnCommitResp = 193, TxnAbort = 66, TxnAbortResp = 194, SpaceCreateReq = 112, SpaceCreateResp = 240, SpaceListReq = 113, SpaceListResp = 241, SpaceDeleteReq = 114, SpaceDeleteResp = 242, SessionCreateReq = 115, SessionCreateResp = 243, SessionListReq = 116, SessionListResp = 244, SessionDeleteReq = 117, SessionDeleteResp = 245, Error = 255, GetCapabilitiesReq = 50, GetCapabilitiesResp = 178, SchemaUploadReq = 288, SchemaUploadResp = 416, SchemaGetReq = 289, SchemaGetResp = 417, SchemaListReq = 290, SchemaListResp = 418, SchemaValidateReq = 291, SchemaValidateResp = 419, SchemaDropReq = 293, SchemaDropResp = 421, SchemaReplaceReq = 295, SchemaReplaceResp = 423, ExtractorListReq = 292, ExtractorListResp = 420, EntityCreateReq = 304, EntityCreateResp = 432, EntityGetReq = 305, EntityGetResp = 433, EntityResolveReq = 310, EntityResolveResp = 438, EntityListReq = 311, EntityListResp = 439, EntityUpdateReq = 306, EntityUpdateResp = 434, EntityRenameReq = 307, EntityRenameResp = 435, EntityMergeReq = 308, EntityMergeResp = 436, EntityUnmergeReq = 309, EntityUnmergeResp = 437, EntityTombstoneReq = 312, EntityTombstoneResp = 440, StatementCreateReq = 320, StatementCreateResp = 448, StatementGetReq = 321, StatementGetResp = 449, StatementListReq = 326, StatementListResp = 454, StatementSupersedeReq = 322, StatementSupersedeResp = 450, StatementTombstoneReq = 323, StatementTombstoneResp = 451, StatementRetractReq = 324, StatementRetractResp = 452, StatementHistoryReq = 325, StatementHistoryResp = 453, RelationCreateReq = 336, RelationCreateResp = 464, RelationListFromReq = 340, RelationListFromResp = 468, RelationListToReq = 341, RelationListToResp = 469, RelationGetReq = 337, RelationGetResp = 465, RelationSupersedeReq = 338, RelationSupersedeResp = 466, RelationTombstoneReq = 339, RelationTombstoneResp = 467, RelationTraverseReq = 342, RelationTraverseResp = 470, QueryExplainReq = 353, QueryExplainResp = 481, QueryTraceReq = 354, QueryTraceResp = 482, GraphFetchReq = 355, GraphFetchResp = 483, MaterializeProceduralReq = 356, MaterializeProceduralResp = 484,
}
Expand description

Wire-protocol opcode.

Variants§

§

Hello = 1

§

Welcome = 129

§

Auth = 2

§

AuthOk = 130

§

Bye = 31

§

Ping = 16

§

Pong = 144

§

ClientPong = 17

§

ServerPing = 145

§

CancelStream = 80

§

CancelStreamAck = 208

§

EncodeReq = 32

§

EncodeResp = 160

§

RecallReq = 33

§

RecallResp = 161

§

PlanReq = 34

§

PlanResp = 162

§

ReasonReq = 35

§

ReasonResp = 163

§

ForgetReq = 36

§

ForgetResp = 164

§

LinkReq = 37

§

LinkResp = 165

§

UnlinkReq = 38

§

UnlinkResp = 166

§

MemoryListReq = 39

§

MemoryListResp = 167

§

MemoryInspectReq = 40

§

MemoryInspectResp = 168

§

EncodeVectorDirectReq = 42

§

EncodeVectorDirectResp = 170

§

SubscribeReq = 48

§

SubscribeEvent = 176

§

UnsubscribeReq = 49

§

UnsubscribeResp = 177

§

TxnBegin = 64

§

TxnBeginResp = 192

§

TxnCommit = 65

§

TxnCommitResp = 193

§

TxnAbort = 66

§

TxnAbortResp = 194

§

SpaceCreateReq = 112

§

SpaceCreateResp = 240

§

SpaceListReq = 113

§

SpaceListResp = 241

§

SpaceDeleteReq = 114

§

SpaceDeleteResp = 242

§

SessionCreateReq = 115

§

SessionCreateResp = 243

§

SessionListReq = 116

§

SessionListResp = 244

§

SessionDeleteReq = 117

§

SessionDeleteResp = 245

§

Error = 255

§

GetCapabilitiesReq = 50

§

GetCapabilitiesResp = 178

§

SchemaUploadReq = 288

§

SchemaUploadResp = 416

§

SchemaGetReq = 289

§

SchemaGetResp = 417

§

SchemaListReq = 290

§

SchemaListResp = 418

§

SchemaValidateReq = 291

§

SchemaValidateResp = 419

§

SchemaDropReq = 293

§

SchemaDropResp = 421

§

SchemaReplaceReq = 295

§

SchemaReplaceResp = 423

§

ExtractorListReq = 292

§

ExtractorListResp = 420

§

EntityCreateReq = 304

§

EntityCreateResp = 432

§

EntityGetReq = 305

§

EntityGetResp = 433

§

EntityResolveReq = 310

§

EntityResolveResp = 438

§

EntityListReq = 311

§

EntityListResp = 439

§

EntityUpdateReq = 306

§

EntityUpdateResp = 434

§

EntityRenameReq = 307

§

EntityRenameResp = 435

§

EntityMergeReq = 308

§

EntityMergeResp = 436

§

EntityUnmergeReq = 309

§

EntityUnmergeResp = 437

§

EntityTombstoneReq = 312

§

EntityTombstoneResp = 440

§

StatementCreateReq = 320

§

StatementCreateResp = 448

§

StatementGetReq = 321

§

StatementGetResp = 449

§

StatementListReq = 326

§

StatementListResp = 454

§

StatementSupersedeReq = 322

§

StatementSupersedeResp = 450

§

StatementTombstoneReq = 323

§

StatementTombstoneResp = 451

§

StatementRetractReq = 324

§

StatementRetractResp = 452

§

StatementHistoryReq = 325

§

StatementHistoryResp = 453

§

RelationCreateReq = 336

§

RelationCreateResp = 464

§

RelationListFromReq = 340

§

RelationListFromResp = 468

§

RelationListToReq = 341

§

RelationListToResp = 469

§

RelationGetReq = 337

§

RelationGetResp = 465

§

RelationSupersedeReq = 338

§

RelationSupersedeResp = 466

§

RelationTombstoneReq = 339

§

RelationTombstoneResp = 467

§

RelationTraverseReq = 342

§

RelationTraverseResp = 470

§

QueryExplainReq = 353

§

QueryExplainResp = 481

§

QueryTraceReq = 354

§

QueryTraceResp = 482

§

GraphFetchReq = 355

§

GraphFetchResp = 483

§

MaterializeProceduralReq = 356

§

MaterializeProceduralResp = 484

Implementations§

Source§

impl Opcode

Source

pub fn as_u16(self) -> u16

Numeric value as it appears in the frame header.

Trait Implementations§

Source§

impl Clone for Opcode

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Opcode

Source§

impl Debug for Opcode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Opcode

Source§

impl Hash for Opcode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Opcode

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Opcode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more