pub fn build(&self) -> Result<Config, ConfigBuildError> {
        let frame_size = self.config.frame_size.get();
        let total_headroom = XDP_PACKET_HEADROOM + self.config.frame_headroom;

        if total_headroom > frame_size {
            Err(ConfigBuildError {
                frame_size,
                total_headroom,
            })
        } else {
            Ok(self.config)
        }
    }
/// Build a [`UmemConfig`](Config) instance using the values set
/// in this builder.
///
/// May fail if some of the values are incompatible. For example,
/// if the requested frame headroom exceeds the frame size.
Build a [`UmemConfig`](Config) instance using the values set
in this builder.

May fail if some of the values are incompatible. For example,
if the requested frame headroom exceeds the frame size.
Build a [ ` UmemConfig ` ] ( Config ) instance using the values set in this builder . May fail if some of the values are incompatible . For example if the requested frame headroom exceeds the frame size .
pub fn build(&self) -> Result<Config, ConfigBuildError> {
        let frame_size = self.config.frame_size.get();
        let total_headroom = XDP_PACKET_HEADROOM + self.config.frame_headroom;
        if total_headroom > frame_size {
            Err(ConfigBuildError {
                frame_size,
                total_headroom,
            })
        } else {
            Ok(self.config)
        }
    }
pub fn build ( & self ) -> Result < Config , ConfigBuildError > { let frame_size = self . config . frame_size . get ( ) ; let total_headroom = XDP_PACKET_HEADROOM + self . config . frame_headroom ; if total_headroom > frame_size { Err ( ConfigBuildError { frame_size , total_headroom , } ) } else { Ok ( self . config ) } }
Build a [`UmemConfig`](Config) instance using the values set
in this builder.
Build a [ ` UmemConfig ` ] ( Config ) instance using the values set in this builder .
&self
&self