pub struct DlciChannel {
pub path: String,
pub exchange_waiter: Mutex<Option<Arc<ExchangeWaiter>>>,
/* private fields */
}Expand description
Per-DLCI routing state (virtual channel).
Fields§
§path: String§exchange_waiter: Mutex<Option<Arc<ExchangeWaiter>>>Implementations§
Source§impl DlciChannel
impl DlciChannel
pub fn attach_watch_with( &self, channel: EventSink, batch_timeout_ms: u64, framer: Option<Box<dyn Framer>>, )
Sourcepub fn detach_watch(&self)
pub fn detach_watch(&self)
Stop the watch; its batch and its parser’s remainder are queued as the last Data
(after the frames already queued). The session delivers them on its next RX, tick
or CmuxSession::clear_watch (which calls this and delivers).
Auto Trait Implementations§
impl !Freeze for DlciChannel
impl Forget for DlciChannel
impl Move for DlciChannel
impl RefUnwindSafe for DlciChannel
impl Send for DlciChannel
impl Sync for DlciChannel
impl Unpin for DlciChannel
impl UnsafeUnpin for DlciChannel
impl UnwindSafe for DlciChannel
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