[][src]Struct splinter::admin::service::AdminService

pub struct AdminService { /* fields omitted */ }

Methods

impl AdminService[src]

pub fn new(
    node_id: &str,
    orchestrator: ServiceOrchestrator,
    service_arg_validators: HashMap<String, Box<dyn ServiceArgValidator + Send>>,
    peer_connector: PeerConnector,
    authorization_inquistor: Box<dyn AuthorizationInquisitor>,
    splinter_state: SplinterState,
    signature_verifier: Box<dyn SignatureVerifier + Send>,
    key_registry: Box<dyn KeyRegistry>,
    key_permission_manager: Box<dyn KeyPermissionManager>,
    storage_type: &str,
    coordinator_timeout: Option<Duration>
) -> Result<Self, ServiceError>
[src]

pub fn commands(&self) -> impl AdminCommands + Clone[src]

Trait Implementations

impl RestResourceProvider for AdminService[src]

impl Service for AdminService[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,