-
Couldn't load subscription status.
- Fork 23
QuantumGate::Access::Manager::UpdatePeer
Karel Donk edited this page Dec 11, 2019
·
1 revision
Updates the access settings for a peer on the instance.
Result<> UpdatePeer(PeerAccessSettings&& pas) noexcept;| Name | Description |
|---|---|
pas |
The access settings for the peer. See QuantumGate::Access::PeerAccessSettings for more details. |
Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:
| Value | Description |
|---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. |
QuantumGate::ResultCode::InvalidArgument |
The operation failed because an invalid argument was passed through. The UUID and the public key may not belong together. |
QuantumGate::ResultCode::PeerNotFound |
The operation failed because the peer wasn't found. |