pub struct PipeStreamAttachment {
pub initial_backlog: Vec<u8>,
pub bytes_missed: u64,
/* private fields */
}Fields§
§initial_backlog: Vec<u8>§bytes_missed: u64Implementations§
Source§impl PipeStreamAttachment
impl PipeStreamAttachment
pub fn attach( scope_hash: Option<&str>, session_id: &str, stream: PipeStreamKind, steal: bool, ) -> Result<Self, PipeAttachError>
pub fn attach_to( socket_path: &str, session_id: &str, stream: PipeStreamKind, steal: bool, ) -> Result<Self, PipeAttachError>
pub fn recv_frame(&mut self) -> Result<PipeStreamFrame, PipeAttachError>
Auto Trait Implementations§
impl Freeze for PipeStreamAttachment
impl RefUnwindSafe for PipeStreamAttachment
impl Send for PipeStreamAttachment
impl Sync for PipeStreamAttachment
impl Unpin for PipeStreamAttachment
impl UnsafeUnpin for PipeStreamAttachment
impl UnwindSafe for PipeStreamAttachment
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