#[repr(C)]pub struct AsiFlowConnection {
pub header: AsiStructureHeader,
pub source_block: [c_char; 64],
pub source_port: [c_char; 64],
pub target_block: [c_char; 64],
pub target_port: [c_char; 64],
}Expand description
A flow connection.
Fields§
§header: AsiStructureHeader§source_block: [c_char; 64]§source_port: [c_char; 64]§target_block: [c_char; 64]§target_port: [c_char; 64]Implementations§
§impl AsiFlowConnection
impl AsiFlowConnection
pub fn new( source_block: &str, source_port: &str, target_block: &str, target_port: &str, ) -> Self
pub fn source_block(&self) -> Result<&str, Utf8Error>
pub fn source_block_lossy(&self) -> Cow<'_, str>
pub fn source_port(&self) -> Result<&str, Utf8Error>
pub fn source_port_lossy(&self) -> Cow<'_, str>
pub fn target_block(&self) -> Result<&str, Utf8Error>
pub fn target_block_lossy(&self) -> Cow<'_, str>
pub fn target_port(&self) -> Result<&str, Utf8Error>
pub fn target_port_lossy(&self) -> Cow<'_, str>
Trait Implementations§
Source§impl Clone for AsiFlowConnection
impl Clone for AsiFlowConnection
Source§fn clone(&self) -> AsiFlowConnection
fn clone(&self) -> AsiFlowConnection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsiFlowConnection
impl Debug for AsiFlowConnection
Source§impl Default for AsiFlowConnection
impl Default for AsiFlowConnection
§impl Display for AsiFlowConnection
impl Display for AsiFlowConnection
impl Copy for AsiFlowConnection
Auto Trait Implementations§
impl Freeze for AsiFlowConnection
impl RefUnwindSafe for AsiFlowConnection
impl !Send for AsiFlowConnection
impl !Sync for AsiFlowConnection
impl Unpin for AsiFlowConnection
impl UnwindSafe for AsiFlowConnection
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