pub struct LocalMr { /* private fields */ }
Expand description

Local Memory Region

Implementations

Get a local mr slice

Return None if the inputed range is wrong

Get an unchecked local mr slice

Safety

Callers of this function are responsible that these preconditions are satisfied:

  • The starting index must not exceed the ending index;
  • Indexes must be within bounds of the original LocalMr.

Get a mutable local mr slice

Return None if the inputed range is wrong

Get an unchecked mutable local mr slice

Safety

Callers of this function are responsible that these preconditions are satisfied:

  • The starting index must not exceed the ending index;
  • Indexes must be within bounds of the original LocalMr.

Trait Implementations

Formats the value using the given formatter. Read more

Get the local key

Get the corresponding RwLocalMrInner

Get the start pointer until it is readable Read more

Try to get the start pointer Read more

Get the start pointer without lock Read more

Get the memory region as slice until it is readable Read more

Try to get the memory region as slice Read more

Get the memory region as slice without lock Read more

Get the local key without lock Read more

Get the remote key without lock Read more

New a token with specified timeout

New a token with specified timeout with rkey_unchecked Read more

Is the corresponding RwLocalMrInner readable?

Get read lock of LocalMrInenr

Get the local key

Get the corresponding RwLocalMrInner

Get the start pointer until it is readable Read more

Try to get the start pointer Read more

Get the start pointer without lock Read more

Get the memory region as slice until it is readable Read more

Try to get the memory region as slice Read more

Get the memory region as slice without lock Read more

Get the local key without lock Read more

Get the remote key without lock Read more

New a token with specified timeout

New a token with specified timeout with rkey_unchecked Read more

Is the corresponding RwLocalMrInner readable?

Get read lock of LocalMrInenr

Get the mutable start pointer until it is writeable Read more

Try to get the mutable start pointer Read more

Get the memory region start mut addr without lock Read more

Get the memory region as mutable slice until it is writeable Read more

Try to get the memory region as mutable slice Read more

Get the memory region as mut slice without lock Read more

Is the corresponding RwLocalMrInner writeable?

Get write lock of LocalMrInenr

Get the start addr

Get the length

Get the remote key

Get the BitFlags<AccessFlag> of mr

Get the start addr

Get the length

Get the remote key

Get the BitFlags<AccessFlag> of mr

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more