Skip to main content

Module service

Module service 

Source

Re-exportsยง

use std::any::Any; ๐Ÿ”’
use std::fmt::Write; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use async_trait::async_trait; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::Server; ๐Ÿ”’
use tuwunel_core::utils::string::SplitInfallible; ๐Ÿ”’
use tuwunel_database::Database; ๐Ÿ”’
use crate::services::OnceServices; ๐Ÿ”’

Structsยง

Args ๐Ÿ”’
Args are passed to Service::build when a service is constructed. This allows for arguments to change with limited impact to the many services.

Traitsยง

Service ๐Ÿ”’
Abstract interface for a Service

Functionsยง

make_name ๐Ÿ”’
Utility for service implementations; see Service::name() in the trait.