pub fn finalize(mut self, children: &ChildrenList) -> Result<Interfaces> {
        self = Ok(self)
            .and_then(|this| {
                this.add_interface("org.freedesktop.DBus.Peer", PeerInterface::new())
            })
            .and_then(|this| {
                let map_ref = Rc::downgrade(&this.map);
                this.add_interface("org.freedesktop.DBus.Properties",
                                   PropertyInterface::new(map_ref))
            })
            .and_then(|this| {
                let map_ref = Rc::downgrade(&this.map);
                this.add_interface("org.freedesktop.DBus.Introspectable",
                                   IntrospectableInterface::new(map_ref, Rc::downgrade(children)))
            })?;

        Ok(Interfaces {
            map: self.map,
        })
    }
/// Finalize the interface set.
///
/// Once this is called, the interfaces may be used fully. Calling this adds the
/// `org.freedesktop.DBus.Peer`, `org.freedesktop.DBus.Properties`, and
/// `org.freedesktop.DBus.Introspectable` standard interfaces to the object.
///
/// Once this is called, further interfaces may not be added once this is called.
Finalize the interface set.
Once this is called, the interfaces may be used fully.

Once this is called, further interfaces may not be added once this is called.
Finalize the interface set . Once this is called the interfaces may be used fully . Once this is called further interfaces may not be added once this is called .
pub fn finalize(mut self, children: &ChildrenList) -> Result<Interfaces> {
        self = Ok(self)
            .and_then(|this| {
                this.add_interface("org.freedesktop.DBus.Peer", PeerInterface::new())
            })
            .and_then(|this| {
                let map_ref = Rc::downgrade(&this.map);
                this.add_interface("org.freedesktop.DBus.Properties",
                                   PropertyInterface::new(map_ref))
            })
            .and_then(|this| {
                let map_ref = Rc::downgrade(&this.map);
                this.add_interface("org.freedesktop.DBus.Introspectable",
                                   IntrospectableInterface::new(map_ref, Rc::downgrade(children)))
            })?;
        Ok(Interfaces {
            map: self.map,
        })
    }
pub fn finalize ( mut self , children : & ChildrenList ) -> Result < Interfaces > { self = Ok ( self ) . and_then ( | this | { this . add_interface ( " " , PeerInterface :: new ( ) ) } ) . and_then ( | this | { let map_ref = Rc :: downgrade ( & this . map ) ; this . add_interface ( " " , PropertyInterface :: new ( map_ref ) ) } ) . and_then ( | this | { let map_ref = Rc :: downgrade ( & this . map ) ; this . add_interface ( " " , IntrospectableInterface :: new ( map_ref , Rc :: downgrade ( children ) ) ) } ) ? ; Ok ( Interfaces { map : self . map , } ) }
Finalize the interface set.
Finalize the interface set .
mut self
children
&ChildrenList