pub struct EnsuredServerConnection { /* private fields */ }Expand description
A ready server connection together with its startup provenance.
Implementations§
Source§impl EnsuredServerConnection
impl EnsuredServerConnection
Sourcepub const fn provenance(&self) -> ServerConnectionProvenance
pub const fn provenance(&self) -> ServerConnectionProvenance
Returns how this command obtained the connected daemon.
Sourcepub fn into_connection(self) -> Connection
pub fn into_connection(self) -> Connection
Consumes the outcome and returns the ready connection.
Auto Trait Implementations§
impl Freeze for EnsuredServerConnection
impl RefUnwindSafe for EnsuredServerConnection
impl Send for EnsuredServerConnection
impl Sync for EnsuredServerConnection
impl Unpin for EnsuredServerConnection
impl UnsafeUnpin for EnsuredServerConnection
impl UnwindSafe for EnsuredServerConnection
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