sel4::cap

Type Alias Endpoint

Source
pub type Endpoint<C = NoExplicitInvocationContext> = Cap<Endpoint, C>;

Aliased Type§

struct Endpoint<C = NoExplicitInvocationContext> { /* private fields */ }

Implementations§

Source§

impl<C: InvocationContext> Endpoint<C>

Source

pub fn send(self, info: MessageInfo)

Corresponds to seL4_Send.

Source

pub fn nb_send(self, info: MessageInfo)

Corresponds to seL4_NBSend.

Source

pub fn recv( self, reply_authority: impl ConveysReplyAuthority, ) -> (MessageInfo, Badge)

Corresponds to seL4_Recv.

Source

pub fn nb_recv( self, reply_authority: impl ConveysReplyAuthority, ) -> (MessageInfo, Badge)

Corresponds to seL4_NBRecv.

Source

pub fn call(self, info: MessageInfo) -> MessageInfo

Corresponds to seL4_Call.

Source

pub fn reply_recv( self, info: MessageInfo, reply_authority: impl ConveysReplyAuthority, ) -> (MessageInfo, Badge)

Corresponds to seL4_ReplyRecv.

Source

pub fn send_with_mrs<T: FastMessages>(self, info: MessageInfo, messages: T)

Source

pub fn recv_with_mrs( self, reply_authority: impl ConveysReplyAuthority, ) -> RecvWithMRs

Source

pub fn call_with_mrs<T: FastMessages>( self, info: MessageInfo, messages: T, ) -> CallWithMRs