pub enum RequestOp {
Show 32 variants
Control {
args: Vec<String>,
},
GetState,
IsShutdown,
Attach,
Detach,
GenerateMemberId {
writer_key: PublicKey,
},
GetDhtRecordKey {
schema: DHTSchema,
owner: PublicKey,
encryption_key: Option<SharedSecret>,
},
NewPrivateRoute,
NewCustomPrivateRoute {
private_spec: PrivateSpec,
},
ImportRemotePrivateRoute {
blob: Vec<u8>,
},
ReleasePrivateRoute {
route_id: RouteId,
},
AppCallReply {
call_id: OperationId,
message: Vec<u8>,
},
NewRoutingContext,
RoutingContext(RoutingContextRequest),
TransactDhtRecords {
record_keys: Vec<RecordKey>,
options: Option<TransactDHTRecordsOptions>,
},
DhtTransaction(DhtTransactionRequest),
OpenTableDb {
name: String,
column_count: u32,
},
DeleteTableDb {
name: String,
},
TableDb(TableDbRequest),
TableDbTransaction(TableDbTransactionRequest),
GetCryptoSystem {
kind: CryptoKind,
},
CryptoSystem(CryptoSystemRequest),
VerifySignatures {
node_ids: Vec<PublicKey>,
data: Vec<u8>,
signatures: Vec<Signature>,
},
GenerateSignatures {
data: Vec<u8>,
key_pairs: Vec<KeyPair>,
},
GenerateKeyPair {
kind: CryptoKind,
},
Now,
Debug {
command: String,
},
VeilidVersionString,
VeilidVersion,
VeilidFeatures,
DefaultVeilidConfig,
ValidCryptoKinds,
}Variants§
Control
GetState
IsShutdown
Attach
Detach
GenerateMemberId
GetDhtRecordKey
NewPrivateRoute
NewCustomPrivateRoute
Fields
§
private_spec: PrivateSpecImportRemotePrivateRoute
ReleasePrivateRoute
AppCallReply
NewRoutingContext
RoutingContext(RoutingContextRequest)
TransactDhtRecords
DhtTransaction(DhtTransactionRequest)
OpenTableDb
DeleteTableDb
TableDb(TableDbRequest)
TableDbTransaction(TableDbTransactionRequest)
GetCryptoSystem
Fields
§
kind: CryptoKindCryptoSystem(CryptoSystemRequest)
VerifySignatures
GenerateSignatures
GenerateKeyPair
Fields
§
kind: CryptoKindNow
Debug
VeilidVersionString
VeilidVersion
VeilidFeatures
DefaultVeilidConfig
ValidCryptoKinds
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RequestOp
impl<'de> Deserialize<'de> for RequestOp
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
Source§impl JsonSchema for RequestOp
impl JsonSchema for RequestOp
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl !Freeze for RequestOp
impl RefUnwindSafe for RequestOp
impl Send for RequestOp
impl Sync for RequestOp
impl Unpin for RequestOp
impl UnsafeUnpin for RequestOp
impl UnwindSafe for RequestOp
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§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