pub trait AdminCommands: Send + Sync {
    fn submit_circuit_change(
        &self,
        circuit_change: CircuitManagementPayload
    ) -> Result<(), AdminServiceError>; fn add_event_subscriber(
        &self,
        event_type: &str,
        subscriber: Box<dyn AdminServiceEventSubscriber>
    ) -> Result<(), AdminServiceError>; fn get_events_since(
        &self,
        since_event_id: &i64,
        event_type: &str
    ) -> Result<Events, AdminServiceError>; fn admin_service_status(
        &self
    ) -> Result<AdminServiceStatus, AdminServiceError>; fn clone_boxed(&self) -> Box<dyn AdminCommands>; }

Required Methods

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Implementors