Struct rutabaga_gfx::kumquat_support::RutabagaTube
source · pub struct RutabagaTube {
socket: OwnedDescriptor,
}
Fields§
§socket: OwnedDescriptor
Implementations§
source§impl Tube
impl Tube
pub fn new<P: AsRef<Path> + NixPath>( path: P, kind: TubeType ) -> RutabagaResult<Tube>
pub fn send( &self, opaque_data: &[u8], descriptors: &[RawDescriptor] ) -> RutabagaResult<usize>
pub fn receive( &self, opaque_data: &mut [u8] ) -> RutabagaResult<(usize, Vec<OwnedDescriptor>)>
Trait Implementations§
source§impl AsBorrowedDescriptor for Tube
impl AsBorrowedDescriptor for Tube
fn as_borrowed_descriptor(&self) -> &OwnedDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for Tube
impl Send for Tube
impl Sync for Tube
impl Unpin for Tube
impl UnwindSafe for Tube
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