pub struct StandaloneConfig {
pub socket_path: PathBuf,
}Expand description
Configuration for AppType::Standalone apps.
Carried only by manifests whose app_type == "standalone". The daemon uses
socket_path to route capability invocations as line-delimited JSON-RPC 2.0
over the standalone daemon’s own Unix domain socket.
Path-safety rules (validated by AppManifest::validate):
- Absolute path.
- Lives under
/run/. - No
..segments.
Fields§
§socket_path: PathBufTrait Implementations§
Source§impl Clone for StandaloneConfig
impl Clone for StandaloneConfig
Source§fn clone(&self) -> StandaloneConfig
fn clone(&self) -> StandaloneConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StandaloneConfig
impl Debug for StandaloneConfig
Source§impl<'de> Deserialize<'de> for StandaloneConfig
impl<'de> Deserialize<'de> for StandaloneConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StandaloneConfig
impl RefUnwindSafe for StandaloneConfig
impl Send for StandaloneConfig
impl Sync for StandaloneConfig
impl Unpin for StandaloneConfig
impl UnsafeUnpin for StandaloneConfig
impl UnwindSafe for StandaloneConfig
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