Struct procfs::SharedMemorySegments
source · pub struct SharedMemorySegments(pub Vec<Shm>);
Expand description
A set of shared memory segments parsed from /proc/sysvipc/shm
Tuple Fields§
§0: Vec<Shm>
Trait Implementations§
source§fn clone(&self) -> SharedMemorySegments
fn clone(&self) -> SharedMemorySegments
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn deserialize<__D>(
__deserializer: __D
) -> Result<SharedMemorySegments, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SharedMemorySegments, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
fn from_buf_read<R>(r: R) -> Result<SharedMemorySegments, ProcError>where R: BufRead,
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more