pub fn new_with_size(max_size: usize) -> Self {
        match Inspector::new_root(max_size) {
            Ok((vmo, root_node)) => Inspector { vmo: Some(vmo), root_node: Arc::new(root_node) },
            Err(e) => {
                error!("Failed to create root node. Error: {:?}", e);
                Inspector::new_no_op()
            }
        }
    }
/// Initializes a new Inspect VMO object with the given maximum size. If the
/// given size is less than 4K, it will be made 4K which is the minimum size
/// the VMO should have.
Initializes a new Inspect VMO object with the given maximum size. If the
given size is less than 4K, it will be made 4K which is the minimum size
the VMO should have.
Initializes a new Inspect VMO object with the given maximum size . If the given size is less than 4K it will be made 4K which is the minimum size the VMO should have .
pub fn new_with_size(max_size: usize) -> Self {
        match Inspector::new_root(max_size) {
            Ok((vmo, root_node)) => Inspector { vmo: Some(vmo), root_node: Arc::new(root_node) },
            Err(e) => {
                error!("Failed to create root node. Error: {:?}", e);
                Inspector::new_no_op()
            }
        }
    }
pub fn new_with_size ( max_size : usize ) -> Self { match Inspector :: new_root ( max_size ) { Ok ( ( vmo , root_node ) ) => Inspector { vmo : Some ( vmo ) , root_node : Arc :: new ( root_node ) } , Err ( e ) => { error ! ( " " e ) ; Inspector :: new_no_op ( ) } } }
Initializes a new Inspect VMO object with the given maximum size.
Initializes a new Inspect VMO object with the given maximum size .
max_size
usize
max_size
usize