pub enum DaemonApiRequest {
Show 22 variants
AranyaLocalAddr {},
GetKeyBundle {},
GetDeviceId {},
AddSyncPeer {
addr: Addr,
team: TeamId,
interval: Duration,
},
RemoveSyncPeer {
addr: Addr,
team: TeamId,
},
AddTeam {
team: TeamId,
},
RemoveTeam {
team: TeamId,
},
CreateTeam {},
CloseTeam {
team: TeamId,
},
AddDeviceToTeam {
team: TeamId,
keys: KeyBundle,
},
RemoveDeviceFromTeam {
team: TeamId,
device: DeviceId,
},
AssignRole {
team: TeamId,
device: DeviceId,
role: Role,
},
RevokeRole {
team: TeamId,
device: DeviceId,
role: Role,
},
AssignNetIdentifier {
team: TeamId,
device: DeviceId,
name: NetIdentifier,
},
RemoveNetIdentifier {
team: TeamId,
device: DeviceId,
name: NetIdentifier,
},
CreateLabel {
team: TeamId,
label: Label,
},
DeleteLabel {
team: TeamId,
label: Label,
},
AssignLabel {
team: TeamId,
device: DeviceId,
label: Label,
},
RevokeLabel {
team: TeamId,
device: DeviceId,
label: Label,
},
CreateBidiChannel {
team: TeamId,
peer: NetIdentifier,
node_id: NodeId,
label: Label,
},
DeleteChannel {
chan: AfcId,
},
ReceiveAfcCtrl {
team: TeamId,
node_id: NodeId,
ctrl: AfcCtrl,
},
}Expand description
The request sent over the wire from the client to the server.
Variants§
AranyaLocalAddr
GetKeyBundle
GetDeviceId
AddSyncPeer
RemoveSyncPeer
AddTeam
RemoveTeam
CreateTeam
CloseTeam
AddDeviceToTeam
RemoveDeviceFromTeam
AssignRole
RevokeRole
AssignNetIdentifier
RemoveNetIdentifier
CreateLabel
DeleteLabel
AssignLabel
RevokeLabel
CreateBidiChannel
DeleteChannel
ReceiveAfcCtrl
Trait Implementations§
Source§impl Debug for DaemonApiRequest
impl Debug for DaemonApiRequest
Source§impl<'de> Deserialize<'de> for DaemonApiRequest
impl<'de> Deserialize<'de> for DaemonApiRequest
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 RequestName for DaemonApiRequest
impl RequestName for DaemonApiRequest
Auto Trait Implementations§
impl Freeze for DaemonApiRequest
impl RefUnwindSafe for DaemonApiRequest
impl Send for DaemonApiRequest
impl Sync for DaemonApiRequest
impl Unpin for DaemonApiRequest
impl UnwindSafe for DaemonApiRequest
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