pub enum CodexEndpoint {
Unix(PathBuf),
Ws(String),
}Expand description
Where the shared app-server listens.
Variants§
Unix(PathBuf)
unix:///abs/path.sock (WebSocket over a Unix socket).
Ws(String)
ws://127.0.0.1:PORT (loopback only).
Implementations§
Trait Implementations§
Source§impl Clone for CodexEndpoint
impl Clone for CodexEndpoint
Source§impl Debug for CodexEndpoint
impl Debug for CodexEndpoint
impl Eq for CodexEndpoint
Source§impl PartialEq for CodexEndpoint
impl PartialEq for CodexEndpoint
impl StructuralPartialEq for CodexEndpoint
Auto Trait Implementations§
impl Freeze for CodexEndpoint
impl RefUnwindSafe for CodexEndpoint
impl Send for CodexEndpoint
impl Sync for CodexEndpoint
impl Unpin for CodexEndpoint
impl UnsafeUnpin for CodexEndpoint
impl UnwindSafe for CodexEndpoint
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.