pub enum DaemonEndpoint {
Unix(PathBuf),
Tcp {
host: String,
port: u16,
},
}Expand description
Transport endpoint advertised by the CCCC daemon.
Variants§
Trait Implementations§
Source§impl Clone for DaemonEndpoint
impl Clone for DaemonEndpoint
Source§impl Debug for DaemonEndpoint
impl Debug for DaemonEndpoint
impl Eq for DaemonEndpoint
Source§impl PartialEq for DaemonEndpoint
impl PartialEq for DaemonEndpoint
impl StructuralPartialEq for DaemonEndpoint
Auto Trait Implementations§
impl Freeze for DaemonEndpoint
impl RefUnwindSafe for DaemonEndpoint
impl Send for DaemonEndpoint
impl Sync for DaemonEndpoint
impl Unpin for DaemonEndpoint
impl UnsafeUnpin for DaemonEndpoint
impl UnwindSafe for DaemonEndpoint
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