[][src]Struct sunrise_kernel::ipc::port::ServerPort

pub struct ServerPort(Arc<Port>);

The server side of a Port.

This is necessary for accepting connections on a port. Its only operation is accept(), which returns a ServerSession. It implements Waitable, which waits until its associated ClientPort called connect().

Implementations

impl ServerPort[src]

pub fn accept(&self) -> Result<ServerSession, UserspaceError>[src]

Accept a new connection on the Port.

Trait Implementations

impl Clone for ServerPort[src]

impl Debug for ServerPort[src]

impl Drop for ServerPort[src]

impl Waitable for ServerPort[src]

Auto Trait Implementations

impl !RefUnwindSafe for ServerPort

impl Send for ServerPort

impl Sync for ServerPort

impl Unpin for ServerPort

impl !UnwindSafe for ServerPort

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.