pub struct StreamEndpoint { /* private fields */ }Expand description
A stream endpoint.
Implementations§
Source§impl StreamEndpoint
impl StreamEndpoint
Sourcepub fn id(&self) -> &EndpointId
pub fn id(&self) -> &EndpointId
The endpoint’s identifier (or name).
Sourcepub fn direction(&self) -> EndpointDirection
pub fn direction(&self) -> EndpointDirection
The endpoint’s direction.
Sourcepub fn annotation(&self) -> &Annotation
pub fn annotation(&self) -> &Annotation
The endpoint’s annotation.
Trait Implementations§
Source§impl Clone for StreamEndpoint
impl Clone for StreamEndpoint
Source§fn clone(&self) -> StreamEndpoint
fn clone(&self) -> StreamEndpoint
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 StreamEndpoint
impl Debug for StreamEndpoint
Source§impl From<StreamEndpoint> for EndpointInfo
impl From<StreamEndpoint> for EndpointInfo
Source§fn from(endpoint: StreamEndpoint) -> Self
fn from(endpoint: StreamEndpoint) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamEndpoint
impl RefUnwindSafe for StreamEndpoint
impl Send for StreamEndpoint
impl Sync for StreamEndpoint
impl Unpin for StreamEndpoint
impl UnwindSafe for StreamEndpoint
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