Struct togglempc::MpdConnection
source · pub struct MpdConnection { /* private fields */ }Expand description
Implementation for MpdConn with a real TcpStream.
Implementations§
source§impl MpdConnection
impl MpdConnection
pub fn new(addr: &str) -> Result<MpdConnection>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MpdConnection
impl RefUnwindSafe for MpdConnection
impl Send for MpdConnection
impl Sync for MpdConnection
impl Unpin for MpdConnection
impl UnwindSafe for MpdConnection
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