pub struct VZFileHandleSerialPortAttachmentBuilder<R, W> { /* private fields */ }
Expand description
builder for VZFileHandleSerialPortAttachment
§Examples
let attachement = VZFileHandleSerialPortAttachmentBuilder::new()
.file_handle_for_reading(file_handle_for_reading)
.file_handle_for_writing(file_handle_for_writing)
.build();
Implementations§
Source§impl<R, W> VZFileHandleSerialPortAttachmentBuilder<R, W>
impl<R, W> VZFileHandleSerialPortAttachmentBuilder<R, W>
pub fn file_handle_for_reading( self, file_handle_for_reading: NSFileHandle, ) -> VZFileHandleSerialPortAttachmentBuilder<NSFileHandle, W>
pub fn file_handle_for_writing( self, file_handle_for_writing: NSFileHandle, ) -> VZFileHandleSerialPortAttachmentBuilder<R, NSFileHandle>
Auto Trait Implementations§
impl<R, W> Freeze for VZFileHandleSerialPortAttachmentBuilder<R, W>
impl<R, W> RefUnwindSafe for VZFileHandleSerialPortAttachmentBuilder<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for VZFileHandleSerialPortAttachmentBuilder<R, W>
impl<R, W> Sync for VZFileHandleSerialPortAttachmentBuilder<R, W>
impl<R, W> Unpin for VZFileHandleSerialPortAttachmentBuilder<R, W>
impl<R, W> UnwindSafe for VZFileHandleSerialPortAttachmentBuilder<R, W>where
R: UnwindSafe,
W: UnwindSafe,
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