pub struct Devfs { /* private fields */ }Implementations§
Source§impl Devfs
impl Devfs
pub fn new(outgoing: OutgoingDirectory) -> Arc<Self>
pub fn root_node(self: &Arc<Self>) -> TopologicalDevnode
pub fn serve(&self) -> DirectoryProxy
pub fn set_component_controller_proxy(&self, controller: ControllerProxy)
pub async fn send_start_request(&self, handle: HandleInfo) -> Result<(), Status>
pub async fn attach_component( &self, handle: HandleInfo, receiver: StartRequestReceiver, ) -> Result<(), Status>
pub fn make_instance_name(&self, class_name: &str) -> Result<String, Status>
Auto Trait Implementations§
impl !Freeze for Devfs
impl !RefUnwindSafe for Devfs
impl Send for Devfs
impl Sync for Devfs
impl Unpin for Devfs
impl !UnwindSafe for Devfs
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more