Struct vfs::node::Connection
source · pub struct Connection<N: Node> { /* private fields */ }
Expand description
Represents a FIDL (limited) node connection.
Implementations§
source§impl<N: Node> Connection<N>
impl<N: Node> Connection<N>
pub fn create( scope: ExecutionScope, node: Arc<N>, options: impl ToNodeOptions, object_request: ObjectRequestRef<'_>, ) -> Result<impl Future<Output = ()>, Status>
Trait Implementations§
source§impl<N: Node> Representation for Connection<N>
impl<N: Node> Representation for Connection<N>
§type Protocol = NodeMarker
type Protocol = NodeMarker
The protocol used for the connection.
source§async fn get_representation(
&self,
requested_attributes: NodeAttributesQuery,
) -> Result<Representation, Status>
async fn get_representation( &self, requested_attributes: NodeAttributesQuery, ) -> Result<Representation, Status>
Returns io2’s Representation for the object.
Auto Trait Implementations§
impl<N> Freeze for Connection<N>
impl<N> !RefUnwindSafe for Connection<N>
impl<N> Send for Connection<N>
impl<N> Sync for Connection<N>
impl<N> Unpin for Connection<N>
impl<N> !UnwindSafe for Connection<N>
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