Skip to contents

Print a Shared Memory Segment

Usage

# S3 method for class 'shard_segment'
print(x, ...)

Arguments

x

A shard_segment object.

...

Ignored.

Value

The input x, invisibly.

Examples

# \donttest{
seg <- segment_create(1024)
print(seg)
#> <shard_segment>
#>   Size: 1,024 bytes
#>   Backing: mmap 
#>   Path: /tmp/shard_7143_1774903657_1774903654 
#>   Read-only: FALSE 
#>   Owns segment: TRUE 
segment_close(seg)
# }