#[non_exhaustive]pub enum IpcMode {
Shareable,
Service(String),
Raw(String),
}Expand description
A service IPC mode retaining recognized portable service references separately.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A documented shareable IPC mode.
Service(String)
A local service namespace reference.
Raw(String)
Any other scalar spelling retained as evidence.
Trait Implementations§
impl Eq for IpcMode
impl StructuralPartialEq for IpcMode
Auto Trait Implementations§
impl Freeze for IpcMode
impl RefUnwindSafe for IpcMode
impl Send for IpcMode
impl Sync for IpcMode
impl Unpin for IpcMode
impl UnsafeUnpin for IpcMode
impl UnwindSafe for IpcMode
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