fn create(exception: Arc<Exception>, rights: Rights) -> (Arc<Self>, oneshot::Receiver<()>) {
        let (sender, receiver) = oneshot::channel();
        let object = Arc::new(ExceptionObject {
            base: KObjectBase::new(),
            exception,
            rights,
            close_signal: Some(sender),
        });
        (object, receiver)
    }
/// Create an kernel object of `Exception`.
///
/// Return the object and a `Receiver` of the object dropped event.
Create an kernel object of `Exception`.
Return the object and a `Receiver` of the object dropped event.
Create an kernel object of ` Exception ` . Return the object and a ` Receiver ` of the object dropped event .
fn create(exception: Arc<Exception>, rights: Rights) -> (Arc<Self>, oneshot::Receiver<()>) {
        let (sender, receiver) = oneshot::channel();
        let object = Arc::new(ExceptionObject {
            base: KObjectBase::new(),
            exception,
            rights,
            close_signal: Some(sender),
        });
        (object, receiver)
    }
fn create ( exception : Arc < Exception > , rights : Rights ) -> ( Arc < Self > , oneshot :: Receiver < ( ) > ) { let ( sender , receiver ) = oneshot :: channel ( ) ; let object = Arc :: new ( ExceptionObject { base : KObjectBase :: new ( ) , exception , rights , close_signal : Some ( sender ) , } ) ; ( object , receiver ) }
Create an kernel object of `Exception`.
Create an kernel object of ` Exception ` .
exception
Arc<Exception>
rights
Rights
exception
Arc<Exception>
rights
Rights