pub fn seal(mut self) -> Io<Sealed> {
        // get current filter
        let filter = unsafe {
            let filter = self.1.seal();
            let filter_ref: &'static dyn Filter = {
                let filter: &dyn Filter = filter.0.as_ref();
                std::mem::transmute(filter)
            };
            self.0 .0.filter.replace(filter_ref);
            filter
        };

        Io(self.0.clone(), FilterItem::with_sealed(filter))
    }
/// Convert current io stream into sealed version
Convert current io stream into sealed version
Convert current io stream into sealed version
pub fn seal(mut self) -> Io<Sealed> {
        // get current filter
        let filter = unsafe {
            let filter = self.1.seal();
            let filter_ref: &'static dyn Filter = {
                let filter: &dyn Filter = filter.0.as_ref();
                std::mem::transmute(filter)
            };
            self.0 .0.filter.replace(filter_ref);
            filter
        };
        Io(self.0.clone(), FilterItem::with_sealed(filter))
    }
pub fn seal ( mut self ) -> Io < Sealed > { // get current filter let filter = unsafe { let filter = self . 1 . seal ( ) ; let filter_ref : & ' static dyn Filter = { let filter : & dyn Filter = filter . 0 . as_ref ( ) ; std :: mem :: transmute ( filter ) } ; self . 0 . 0 . filter . replace ( filter_ref ) ; filter } ; Io ( self . 0 . clone ( ) , FilterItem :: with_sealed ( filter ) ) }
Convert current io stream into sealed version
Convert current io stream into sealed version
mut self
mut self