pub enum AuthDescriptorAction {
Accepted,
Dropped,
Rejected,
}Expand description
Actions that directory authorities take with relay descriptors.
§Example
use stem_rs::AuthDescriptorAction;
let action = AuthDescriptorAction::Accepted;
println!("Auth action: {}", action); // Prints "ACCEPTED"Variants§
Accepted
Accepting the descriptor as the newest version.
Dropped
Descriptor rejected without notifying the relay.
Rejected
Relay notified that its descriptor has been rejected.
Trait Implementations§
Source§impl Clone for AuthDescriptorAction
impl Clone for AuthDescriptorAction
Source§fn clone(&self) -> AuthDescriptorAction
fn clone(&self) -> AuthDescriptorAction
Returns a duplicate 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 AuthDescriptorAction
impl Debug for AuthDescriptorAction
Source§impl Display for AuthDescriptorAction
impl Display for AuthDescriptorAction
Source§impl Hash for AuthDescriptorAction
impl Hash for AuthDescriptorAction
Source§impl PartialEq for AuthDescriptorAction
impl PartialEq for AuthDescriptorAction
impl Copy for AuthDescriptorAction
impl Eq for AuthDescriptorAction
impl StructuralPartialEq for AuthDescriptorAction
Auto Trait Implementations§
impl Freeze for AuthDescriptorAction
impl RefUnwindSafe for AuthDescriptorAction
impl Send for AuthDescriptorAction
impl Sync for AuthDescriptorAction
impl Unpin for AuthDescriptorAction
impl UnwindSafe for AuthDescriptorAction
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