Struct rustbus::connection::ll_conn::SendConn   [−][src]
pub struct SendConn { /* fields omitted */ }A lowlevel abstraction over the raw unix socket
Implementations
impl SendConn[src]
impl SendConn[src]pub fn alloc_serial(&mut self) -> u32[src]
get the next new serial
pub fn send_message<'a>(
    &'a mut self, 
    msg: &'a MarshalledMessage
) -> Result<SendMessageContext<'a>, Error>[src]
&'a mut self,
msg: &'a MarshalledMessage
) -> Result<SendMessageContext<'a>, Error>
send a message over the conn
pub fn send_message_write_all(
    &mut self, 
    msg: &MarshalledMessage
) -> Result<u32, Error>[src]
&mut self,
msg: &MarshalledMessage
) -> Result<u32, Error>
send a message and block until all bytes have been sent. Returns the serial of the message to match the response.