Struct varlink::Connection [−][src]
pub struct Connection { pub reader: Option<BufReader<Box<Read + Send + Sync>>>, pub writer: Option<Box<Write + Send + Sync>>, // some fields omitted }
Fields
reader: Option<BufReader<Box<Read + Send + Sync>>>
writer: Option<Box<Write + Send + Sync>>
Methods
impl Connection
[src]
impl Connection
pub fn new<S: ?Sized + AsRef<str>>(address: &S) -> Result<Arc<RwLock<Self>>>
[src]
pub fn new<S: ?Sized + AsRef<str>>(address: &S) -> Result<Arc<RwLock<Self>>>
pub fn with_address<S: ?Sized + AsRef<str>>(
address: &S
) -> Result<Arc<RwLock<Self>>>
[src]
pub fn with_address<S: ?Sized + AsRef<str>>(
address: &S
) -> Result<Arc<RwLock<Self>>>
pub fn with_activate<S: ?Sized + AsRef<str>>(
command: &S
) -> Result<Arc<RwLock<Self>>>
[src]
pub fn with_activate<S: ?Sized + AsRef<str>>(
command: &S
) -> Result<Arc<RwLock<Self>>>
pub fn with_bridge<S: ?Sized + AsRef<str>>(
command: &S
) -> Result<Arc<RwLock<Self>>>
[src]
pub fn with_bridge<S: ?Sized + AsRef<str>>(
command: &S
) -> Result<Arc<RwLock<Self>>>
pub fn address(&self) -> String
[src]
pub fn address(&self) -> String
Trait Implementations
impl Default for Connection
[src]
impl Default for Connection
fn default() -> Connection
[src]
fn default() -> Connection
Returns the "default value" for a type. Read more
impl Drop for Connection
[src]
impl Drop for Connection
Auto Trait Implementations
impl Send for Connection
impl Send for Connection
impl Sync for Connection
impl Sync for Connection