pub struct Endpoint { /* private fields */ }
Expand description
Endpoint implementation for unix systems
Implementations§
Source§impl Endpoint
impl Endpoint
Sourcepub fn incoming(
self,
) -> Result<impl Stream<Item = Result<impl AsyncRead + AsyncWrite>> + 'static>
pub fn incoming( self, ) -> Result<impl Stream<Item = Result<impl AsyncRead + AsyncWrite>> + 'static>
Stream of incoming connections
Sourcepub fn set_security_attributes(
&mut self,
security_attributes: SecurityAttributes,
)
pub fn set_security_attributes( &mut self, security_attributes: SecurityAttributes, )
Set security attributes for the connection
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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