pub struct PvaCreateChannelPayload {
pub is_server: bool,
pub channels: Vec<(u32, String)>,
pub cid: u32,
pub sid: u32,
pub status: Option<PvaStatus>,
}Expand description
CREATE_CHANNEL payload (cmd=7) Client: count(2), then for each: cid(4), pv_name(string) Server: cid(4), sid(4), status
Fields§
§is_server: boolIs this from server (response) or client (request)?
channels: Vec<(u32, String)>For client requests: list of (cid, pv_name) tuples
cid: u32For server response: client channel ID
sid: u32For server response: server channel ID
status: Option<PvaStatus>For server response: status
Implementations§
Trait Implementations§
Source§impl Debug for PvaCreateChannelPayload
impl Debug for PvaCreateChannelPayload
Auto Trait Implementations§
impl Freeze for PvaCreateChannelPayload
impl RefUnwindSafe for PvaCreateChannelPayload
impl Send for PvaCreateChannelPayload
impl Sync for PvaCreateChannelPayload
impl Unpin for PvaCreateChannelPayload
impl UnsafeUnpin for PvaCreateChannelPayload
impl UnwindSafe for PvaCreateChannelPayload
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