pub struct KoiHandle { /* private fields */ }Implementations§
Source§impl KoiHandle
impl KoiHandle
pub fn events(&self) -> BroadcastStream<KoiEvent>
pub fn subscribe(&self) -> Receiver<KoiEvent>
pub fn mdns(&self) -> Result<MdnsHandle, KoiError>
pub fn dns(&self) -> Result<DnsHandle, KoiError>
pub fn health(&self) -> Result<HealthHandle, KoiError>
pub fn certmesh(&self) -> Result<CertmeshHandle, KoiError>
Sourcepub fn vault(&self) -> Result<Vault, KoiError>
pub fn vault(&self) -> Result<Vault, KoiError>
Open the encrypted key-value vault for general-purpose secret storage.
The vault uses platform credential binding (keyring) when available, with a machine-bound fallback. Each call opens a fresh handle sharing the same on-disk state.
pub fn proxy(&self) -> Result<ProxyHandle, KoiError>
Sourcepub fn udp(&self) -> Result<Arc<UdpRuntime>, KoiError>
pub fn udp(&self) -> Result<Arc<UdpRuntime>, KoiError>
Get the UDP runtime handle.
Only available in embedded mode — remote mode does not support UDP bridging (the remote daemon itself handles bindings).
Sourcepub fn runtime(&self) -> Result<Arc<RuntimeCore>, KoiError>
pub fn runtime(&self) -> Result<Arc<RuntimeCore>, KoiError>
Get the runtime adapter core.
Only available in embedded mode when runtime is enabled.
pub async fn shutdown(self) -> Result<(), KoiError>
Auto Trait Implementations§
impl !RefUnwindSafe for KoiHandle
impl !UnwindSafe for KoiHandle
impl Freeze for KoiHandle
impl Send for KoiHandle
impl Sync for KoiHandle
impl Unpin for KoiHandle
impl UnsafeUnpin for KoiHandle
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more