pub struct LinkInfo<'a> {
pub id: Id,
pub output_node_id: Id,
pub output_port_id: Id,
pub input_node_id: Id,
pub input_port_id: Id,
pub mask: LinkChangeMask,
pub state: LinkState,
pub error: Option<&'a str>,
pub format: Option<&'a RawPodOwned>,
pub props: &'a Properties,
}Expand description
Link information that is provided in a LinkEvents::info event.
Fields§
§id: IdThe ID of the link.
output_node_id: IdGlobal ID of the output node for this link.
output_port_id: IdGlobal ID of the output port for this link.
input_node_id: IdGlobal ID of the input node for this link.
input_port_id: IdGlobal ID of the input port for this link.
mask: LinkChangeMaskWhat changed since the last call.
state: LinkStateCurrent state of the link.
error: Option<&'a str>Error if state is LinkState::Error.
format: Option<&'a RawPodOwned>Format of the link, if negotiated.
props: &'a PropertiesThe link’s properties.
Auto Trait Implementations§
impl<'a> Freeze for LinkInfo<'a>
impl<'a> RefUnwindSafe for LinkInfo<'a>
impl<'a> Send for LinkInfo<'a>
impl<'a> Sync for LinkInfo<'a>
impl<'a> Unpin for LinkInfo<'a>
impl<'a> UnwindSafe for LinkInfo<'a>
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